| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Allows user to press C-p to open the console from the main view and to
press C-p again to go up in the history of previous commands.
|
|
|
|
|
| |
- Alt-B and Alt-F are set as the default bindings (cmap),
- Alt-LEFT and Alt-RIGHT are set as alternative bindings (copycmap).
|
|
|
|
|
| |
- Alt-b for moving backwards by words,
- Alt-f for moving forwards by words.
|
|
|
|
|
|
| |
Previously it was possible to have "/home/user" as one's home and
enter "/home/user2", which gets incorrectly abbreviated to "~2/". Now
such case is left intact, as expected.
|
| |
|
| |
|
|
|
|
| |
Mimics the behaviour of <C-g> in Emacs.
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
Was erroneously checking the entire selection for being *a* directory
but a list of 1 or more files/directories is obviously not a directory.
Fixes #1269
|
|\ \
| | |
| | | |
Implement the filter stack
|
| | |
| | |
| | |
| | | |
Closes #1268.
|
| | |
| | |
| | |
| | |
| | | |
Tested to work both ways, so one can rotate by negative number to undo
the previous positive rotation.
|
| | |
| | |
| | |
| | | |
Inspired by https://github.com/Fuco1/dired-hacks#dired-filter
|
|\ \ \
| | | |
| | | | |
Introduce a helper function for versioning
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The `version_helper` function should make version changes simpler, upon
a release simple bump `__version__` and change `__release__` to `True`,
afterwards change `__release__` back to `False`. It also tries to call
`git describe` so `ranger --version` reports a commit hash if available.
This should prevent slip-ups where released versions report ambiguously
as being `ranger-master x.y.z` which is what we use for non-release
versions.
Fixes #1197, which was a misunderstanding caused by a slip-up.
|
|\ \ \ \
| | |_|/
| |/| | |
Actually check whether selection is a directory for rangerpath patch
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
`Actions.move()` used `enter_dir()` to determine whether the selection
was a directory. Now we explicitly check whether it's a directory.
Fixes #1177
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
A bare return in generators raises StopIteration (this is backwards
compatible). Using StopIteration raised a warning in 3.6.x and raises an
Error in 3.7.0 (and probably upwards).
|
|\ \ \ \
| | | | |
| | | | | |
Fix run as root on macOS
|
| | |_|/
| |/| |
| | | |
| | | |
| | | | |
su on macOS requires the user to be explicitly specified for a command
to be run.
|
|\ \ \ \
| | | | |
| | | | | |
Update rifle
|
| |/ / /
| | | |
| | | | |
I added djview for opening djvu files.
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The new code from commit 08b08d70 returned a 'unicode' object instead
of 'str' but here
<https://github.com/ranger/ranger/blob/53e48ed044b3f69cf21a43a4c9c4450b56972165/ranger/gui/widgets/pager.py#L184>
we were explicitly expecting 'str'. I wanted to use
`isinstance(source, basestring)` (or `(str, unicode)` instead of
`basestring`)) there but it won't work under Python 3. For now I'm
re-encoding every Python 2 unicode string to a UTF-8 encoded 'str'
object even though 'unicode' should work just as well, because it
would be cumbersome under Python 3 otherwise.
|
| | |
| | |
| | |
| | |
| | |
| | | |
Regarding the change in ranger/core/runner.py: setting the 'f' flag
causes the 'r' flag to run sudo -b which forks on it own so it should
be safe to not explicitly fork in this case.
|
| | |
| | |
| | |
| | | |
Closes #1205.
|
|\ \ \
| | | |
| | | |
| | | | |
Adding kitty image previews to ranger : )
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Changed response recieving to use bytestrings
Pythonic "if b'XX' in resp:" used in response checks
Disabled kitty preview when kitty is not in TERM
PEP8 new style fixes
Fixed operator newline in core/fm.py
Added a new ignore for pylint in core/main.py:374,25: Using deprecated method load_module() (deprecated-method)
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Made so images are displayed in the top left corner of the preview pane
Fixed incorrect exit on python2
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Updated manapages
Corrections to rc.conf
Silenced the warning from pillow about image sizes
Tmux session with kitty raises ImgDisplayUnsupportedError
changed pager.py to also notify on ImgDispalyUnsupported Error
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Implemented a way to obtain unstretched image previews
Fixed wording in ranger.pod
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Created late_init method to handle task dependent on late facilities
Enabled automatic network detection (required stdin to be properly init)
Fixed proper handling of import Errors (required ranger Exception handling)
Fixed handling of binary stdio differnces between py2/3
Unified said handling aross the module
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixed grammar horrors in ranger.pod and ranger.conf
Improved resize handling
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fixed support for terminology terminal emulator
Fixed the annoying bug affecting fast scrolling (tnkx@kovidgoyal)
Refactored some code repeated for the whole module
Eliminated some dependencies
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Added more comments to the code
reverted changes to default values in rc.conf
addes explanations in rc.config about the new options
Couple of small stylistic corrections after running make test
Updated the man pages
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Displays images by sending kitty Application Programming Command.
Requires PIL/pillow to work, possible enhancment to add a Imagemagik
based version.
Support for two modes, one slower that is network aware, possible
enhancment to add sutomatic mode selection.
Known BUGS: scrolling too fast will breakthe response catcher, leaking
escape seq into stdin and corrupting the display. FIX? Ask
kovidgoyal@kitty to implement a control sequence to disable responses
|
| | | | |
|
|\ \ \ \
| | |_|/
| |/| | |
|
| | | | |
|
| | | | |
|
| | | | |
|
| |/ /
| | |
| | |
| | | |
Fixes #1192.
|
| |\ \ |
|
| | |\ \ |
|
| | | |\ \ |
|
| | | | |\ \ |
|
| | | | | | | |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Due to this commit, pressing `<Right>` on a file does nothing. Normally
it should open the file. Until this is fixed, I'll remove this commit
to restore this basic functionality. Unfortunately, the revert makes
ranger crash when run like `ranger <somefilename>`, but this is a much
less frequent use case, so the revert is still warranted.
This reverts commit 2288a40b45ccdc57d287648c96c5bbe378b95a6d.
|
| | | | | | | |
|
| | | | |/ /
| | | |/| |
| | | | | |
| | | | | | |
changed map `yw` to `y.` ref.: #1174
|
| | | |\ \ \
| | | | | | |
| | | | | | | |
Add delay after opening (quickly_executed) a file
|