From c0f2fc72eccb4127fba5f48ce4b422487d6ec752 Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 13 Apr 2015 12:49:49 +0200 Subject: moved "doc/examples" to "examples" for more visibility --- examples/rifle_different_file_opener.conf | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 examples/rifle_different_file_opener.conf (limited to 'examples/rifle_different_file_opener.conf') 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" -- "$@" -- cgit 1.4.1-2-gfad0