From 5f2adc336b528ea465aeb6a7c9acb6779316ab05 Mon Sep 17 00:00:00 2001 From: katherine Date: Thu, 23 Mar 2017 23:47:34 -0700 Subject: default open man pages with man --- .config/ranger/rifle.conf | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.config') 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" "$@" -- cgit v1.2.3