summary refs log tree commit diff stats
path: root/examples/rifle_different_file_opener.conf
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-12-03 23:33:18 +0100
committerhut <hut@lavabit.com>2012-12-04 23:32:21 +0100
commitadff84a4645953d3c2feb929eecfd67badc99eff (patch)
treebc1a0cafdf410470ceb565cf09475e6b88e8243c /examples/rifle_different_file_opener.conf
parent32a80ea727d940a5f359a135a4b8d83b77fa0bca (diff)
downloadranger-adff84a4645953d3c2feb929eecfd67badc99eff.tar.gz
added examples/rifle_different_file_opener.conf
Diffstat (limited to 'examples/rifle_different_file_opener.conf')
-rw-r--r--examples/rifle_different_file_opener.conf7
1 files changed, 7 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..1362a1eb
--- /dev/null
+++ b/examples/rifle_different_file_opener.conf
@@ -0,0 +1,7 @@
+# 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" -- "$@"