| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This commit makes ranger only copy a small sample commands.py to
~/.config/ranger/commands.py when running --copy-config=commands.
The default commands.py will be copied to commands_full.py instead, a
file that will not be loaded at all, and will only serve as a reference.
It can be obtained with --copy-config=commands_full
This will avoid that the average user's commands.py will break ranger
whenever she's updating ranger after using --copy-config=all.
It's necessary because commands.py contains much of the actual
program logic, but it can't be kept compatible like other configuration
files, and the user can't be expected to always keep an up-to-date
version of it.
Overview:
Removed --copy-config rule:
--copy-config=commands: commands.py -> commands.py
New --copy-config rules:
--copy-config=commands: commands_sample.py -> commands.py
--copy-config=commands_full: commands.py -> commands_full.py
|
| |
|
| |
|
| |
|
| |
|
|\ |
|
| |
| |
| |
| | |
ranger
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
| |
Closes #97
When renaming a file, the internal file pointer will be set to the new
file name without checking if the file actually got renamed. This would
cause the file pointer to be set to an invalid file if renaming failed
because of bad privileges. With no valid file, the previev window will
disappear. This patch adds a return value to the core renaming method so
it can be checking by the caller. The rename command now checks if the
rename succeeded and only then sets the new file pointer.
|
| |
|
| |
|
|
|
|
|
| |
Let's not force python to jump from version 9 straight to 31, just
because some silly software did fuzzy version checks :D
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Hello,
there is a less known pdf viewer, called qpdfview.
Greetings
bastorran
|
| |
| |
| |
| | |
This avoids an error if the path to rangers repository contains a space.
|
| |
| |
| |
| |
| |
| | |
This avoids error messages when copying broken links, and seems like a
sane setting overall. Especially considering that ranger has no option
to follow links when copying.
|
| |
| |
| |
| | |
This bug was introduced in a986e2bd...
|
|/ |
|
|\ |
|
| |
| |
| |
| |
| | |
This way the different representation of the same path are treated in
the same way.
|
| | |
|
| | |
|
|\ \ |
|
| |/
| |
| |
| | |
Fixes #241.
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
1/2/3)
|
|\
| |
| |
| |
| | |
Conflicts:
ranger/config/rifle.conf
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
$EDITOR variables consisting of "program name + options" are not handled
correctly because of quotes around $EDITOR. As a result, if $EDITOR is not
a simple program name (i.e. if it includes options, as in "emacs -nw"), the
full string is taken as a program and fails to run.
Error message: (/bin/sh: 1: emacs -nw: not found)
Removing quotes fixes this problem.
|
| |
| |
| |
| | |
This reverts commit 4275d352a8f588468b88e6719325de753d12ed62.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This patch fixes 2 problems at once in the default config, which prevent one
from editing files when his $EDITOR variable is set to "emacs -nw":
- $EDITOR variables consisting of "program name + options" are not handled
correctly because of quotes around $EDITOR. As a result, if $EDITOR is not
a simple program name (i.e. if it includes options, as in "emacs -nw"), the
full string is taken as a program and fails to run.
Error message: (/bin/sh: 1: emacs -nw: not found)
Removing quotes fixes this problem.
- emacs does not seems to handle the "--" correctly: it does not open any file
when it is there. I don't know why it is there, but removing it does not
prevent other editors (vim, nano) to run correctly, and makes emacs work.
|
| | |
|
| | |
|
| |
| |
| |
| | |
this can avoid crashes
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | | |
I think if someone has sxiv, feh or mirage installed, it should have a higher priority than eog or eom, because they are normally automatically installed along with mate or gnome.
it fits the philosophy of browser or documents default priority.
|
|/ /
| |
| |
| |
| | |
This avoids crashing on startup if there's a bookmarked file that is
tagged to a tag which is used in ":default_linemode tag=X ..."
|
|\ \ |
|
| | | |
|
|\ \ \
| |/ /
|/| | |
|
|/ / |
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | | |
cd-select_file
|
| | | |
|