summary refs log tree commit diff stats
path: root/examples/rifle_different_file_opener.conf
blob: 695f27c67becce3eca71511d92c6a99f4574378c (plain) (blame)
1
2
3
4
5
6
7
8
9
# Compatible with ranger 1.6.0 through 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" -- "$@"