| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Let's have the users report how they want shifting to work.
You can currently create tabs at negative indices so it feels wrong not
to be able to shift tabs there or have shifts of tabs at negative
indices have a weird result.
|
| |
| |
| |
| |
| |
| | |
offset will shift the tab number as seen
pos will shift the tab to the tav number given
preserves as much as possible the tab numbers
|
| |
| |
| |
| | |
shift selected tab right/left with ALT-p or ALT-o
|
| |
| |
| |
| |
| |
| | |
offset will shift the tab number as seen
pos will shift the tab to the tav number given
preserves as much as possible the tab numbers
|
| |
| |
| |
| | |
shift selected tab right/left with ALT-p or ALT-o
|
|\ \ |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
If `selection == False` don't operate on the entire selection (the
marked files) but only on the file under the cursor.
Inconsistent, I noticed `move to=100 percentage=true` works as expected
but `move right=1 selection=false` doesn't. You need to pass `False`,
most other values test as `True` in python, so `true` works *but*
surprisingly imo, `false == True`.
Fixes #1233
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The `%any` macro is very useful for commands that know about bookmarks.
Bookmarks are just short names for paths really, so it'd be nice if they
could be used with any commands that take paths as arguments.
Now they can! `%any_pathX` where `X` refers to the which `<any>` the
macro corresponds to (`%any_path` is synonymous with `%any_path0`) is
replaced with the path of the bookmark entered if that bookmark exists.
Fixes #1277
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | | |
| | | |
| | | |
| | | | |
Inspired by https://github.com/Fuco1/dired-hacks#dired-filter
|
|\ \ \ \
| | |/ /
| |/| | |
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
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| | | |
| | | |
| | | | |
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)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
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
|
| | | | |
|
|/ / / |
|
|\ \ \ |
|
| |\ \ \ |
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
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.
|
| | |\ \ \ |
|
| | | |\ \ \ |
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Only get_tab_list() implicitly assumed that tab keys are numbers, or at
least homogeneous. This assumption has now been removed by using a
simple ordering class that orders numbers as expected but anything else
lexically.
|
| | | | | | | |
|
| | | | | |/
| | | | |/|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Remove the check preventing the active tab from being saved.
Fixes #883
|
| | | |\ \ \ |
|
| | | | |/ / |
|
| | | |\ \ \
| | | | | |/
| | | | |/| |
|
| | | | | | |
|
| | | | |/
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Because `ranger somefile` used to invoke rifle but that moved to its own
command `ranger somefile` seemed defunct. People expected ranger to
select the file and were baffled when it crashed. Now the documentation
using the verbiage "path" is no longer confusing/a lie because it just
works™ (until it breaks).
Fixes #930
|
| | | |\ \ |
|
| | | | | | |
|
| | | | | | |
|
| | | |\ \ \
| | | | |_|/
| | | |/| | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Both rc.conf and commands.py are now additionally loaded from
`/etc/ranger` if they exist.
Fix #869
|
| | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Pep8 was changed to recommend breaking lines *before* rather than after
binary operators. This patch makes everything right with the universe.
Fixes #1145
|