aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkatherine <shmibs@shmibbles.me>2017-03-23 23:47:34 -0700
committerkatherine <shmibs@shmibbles.me>2017-03-23 23:47:34 -0700
commit5f2adc336b528ea465aeb6a7c9acb6779316ab05 (patch)
tree050e01fcc3a78917b594500189ec2c703c113efa
parent1623133ff25e4ef5b52b373627bbe24fc069751a (diff)
downloaddotfiles-5f2adc336b528ea465aeb6a7c9acb6779316ab05.tar.gz
default open man pages with man
-rw-r--r--.config/ranger/rifle.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/ranger/rifle.conf b/.config/ranger/rifle.conf
index 25d997b..5ea0338 100644
--- a/.config/ranger/rifle.conf
+++ b/.config/ranger/rifle.conf
@@ -51,6 +51,10 @@
#-------------------------------------------
# Misc
#-------------------------------------------
+
+# handle man pages. first here to override edit as default
+ext 1|2|3|4|5|6|7|8|9 = man "$@"
+
# Define the "editor" for text files as first action
mime ^text, label editor = "$EDITOR" -- "$@"
mime ^text, has urxvt, X, flag f = "urxvt" "-e" "$EDITOR" "$@"