summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2012-03-21 09:57:43 +0100
committerhut <hut@lavabit.com>2012-03-21 09:57:43 +0100
commitf3de886d47867c41cecd6722448eb0c74ca80b71 (patch)
tree5d4f60eab67256f023e3563b73f8e10e3fd89b84 /ranger
parentc9a5be7f8e9e881ae33b851910a626cca58fd0bf (diff)
downloadranger-f3de886d47867c41cecd6722448eb0c74ca80b71.tar.gz
defaults/rifle.conf: Added pager rule for text files
Diffstat (limited to 'ranger')
-rw-r--r--ranger/defaults/rifle.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/ranger/defaults/rifle.conf b/ranger/defaults/rifle.conf
index cd3f8685..08a2c21a 100644
--- a/ranger/defaults/rifle.conf
+++ b/ranger/defaults/rifle.conf
@@ -71,6 +71,8 @@ ext x?html?, has w3m,             terminal = w3m -- "$@"
 # Define the "editor" for text files as first action
 mime ^text,      label editor = "$EDITOR" -- "$@"
 ext xml|csv|tex, label editor = "$EDITOR" -- "$@"
+mime ^text,      label pager  = "$PAGER" -- "$@"
+ext xml|csv|tex, label pager  = "$PAGER" -- "$@"
 
 ext 1                         = man "$1"
 ext s[wmf]c, has zsnes, X     = zsnes "$1"