diff options
author | hut <hut@lepus.uberspace.de> | 2015-04-13 12:49:49 +0200 |
---|---|---|
committer | hut <hut@lepus.uberspace.de> | 2015-04-13 12:49:49 +0200 |
commit | c0f2fc72eccb4127fba5f48ce4b422487d6ec752 (patch) | |
tree | 025f72dde6f7a7e5cdca82637da4e5dcef0ddd62 /examples/rifle_different_file_opener.conf | |
parent | a9bbdc440c2ea33ccc4470e00949ffa16ce2300e (diff) | |
download | ranger-c0f2fc72eccb4127fba5f48ce4b422487d6ec752.tar.gz |
moved "doc/examples" to "examples" for more visibility
Diffstat (limited to 'examples/rifle_different_file_opener.conf')
-rw-r--r-- | examples/rifle_different_file_opener.conf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/rifle_different_file_opener.conf b/examples/rifle_different_file_opener.conf new file mode 100644 index 00000000..4a8250b8 --- /dev/null +++ b/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" -- "$@" |