aboutsummaryrefslogtreecommitdiffstats
path: root/.config/ranger
diff options
context:
space:
mode:
Diffstat (limited to '.config/ranger')
-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" "$@"