diff options
Diffstat (limited to 'doc/examples/rifle_different_file_opener.conf')
-rw-r--r-- | doc/examples/rifle_different_file_opener.conf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/examples/rifle_different_file_opener.conf b/doc/examples/rifle_different_file_opener.conf new file mode 100644 index 00000000..4a8250b8 --- /dev/null +++ b/doc/examples/rifle_different_file_opener.conf @@ -0,0 +1,9 @@ +# Compatible with ranger 1.6.* +# +# Replace your rifle.conf with this file to use xdg-open as your file opener. +# This is, of course, adaptable for use with any other file opener. +else = xdg-open "$1" + +# You need an "editor" and "pager" in order to use certain functions in ranger: +label editor = "$EDITOR" -- "$@" +label pager = "$PAGER" -- "$@" |