| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\
| |
| | |
Add mapping to open console and pre-fill it with previous command
|
| | |
|
| | |
|
|/
|
|
|
|
| |
Fixes #1293.
Behaviour assigned to Ctrl-p.
Non-essential change which can be removed if we find a better use for Ctrl-p.
|
|\
| |
| | |
Add support for default terminal word-movement commands to console
|
| |
| |
| |
| |
| | |
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).
|
| | |
|
| |
| |
| |
| | |
This reverts commit dedbabb8eb6035bcbd44c6163834247f1a0415cd.
|
| |
| |
| |
| | |
Adds full-stops at the end of every entry.
|
| | |
|
|/
|
|
|
| |
- 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.
|
|\
| |
| | |
Applies Tilde Setting to Window Title
|
|/ |
|
| |
|
|\
| |
| | |
Add `C-g` as an alias to `ESC` in console
|
|/
|
|
| |
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
|
|\ \ \ \ \
| | | | | |
| | | | | | |
Update PYTHON variable
|
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We don't need to check for all the various versions, that's just a
maintenance burden because `python33` shouldn't ever be available if
`python3` isn't.
Added a check for whether `PYTHON` is empty or just whitespace because
that's useless and could actually lead to problems, if `setup.py`
happens to be on the `PATH`.
|
| | |_|/ /
| |/| | |
| | | | |
| | | | | |
`which python3` will likely show the latest version of python installed on system, so, it should go the first.
I think, it's not necessary to write all of possible versions of python. You can just use `which python3 || which python`...
|
|\ \ \ \ \
| | | | | |
| | | | | | |
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
|
| |/ / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
`Actions.move()` used `enter_dir()` to determine whether the selection
was a directory. Now we explicitly check whether it's a directory.
Fixes #1177
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Remove hard code of ranger path
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Hard coding the path of ranger prohibits the bash_automatic_cd.sh script
from working when the user has installed ranger in a different path such
as in /usr/local/bin/, or ~/.local/bin/ etc.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | | |
Replace StopIteration with bare return
|
|/ / / / / /
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
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.
|