summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-10-01 21:00:18 +0200
committerhut <hut@lavabit.com>2011-10-01 21:00:18 +0200
commit255b9ceac240be5a145e0c0123ae2589e7b8f1bf (patch)
treea0967f3ab7d11fc1963c00a700f7407208ca8745
parent57f2280e933ede2953c35b1c3c71e471c7fc1d84 (diff)
downloadranger-255b9ceac240be5a145e0c0123ae2589e7b8f1bf.tar.gz
defaults/rc.conf: added some scrolling keys for pager
-rw-r--r--ranger/defaults/rc.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/ranger/defaults/rc.conf b/ranger/defaults/rc.conf
index 5def570c..e462bb67 100644
--- a/ranger/defaults/rc.conf
+++ b/ranger/defaults/rc.conf
@@ -278,6 +278,15 @@ pmap <up>    eval -q fm.ui.browser.pager.move(up=1)
 pmap <home>  eval -q fm.ui.browser.pager.move(down=0, absolute=True)
 pmap <end>   eval -q fm.ui.browser.pager.move(down=-1, absolute=True)
 
+pmap d          eval -q fm.ui.browser.pager.move(down=0.5, pages=True)
+pmap <C-d>      eval -q fm.ui.browser.pager.move(down=0.5, pages=True)
+pmap u          eval -q fm.ui.browser.pager.move(up=  0.5, pages=True)
+pmap <C-u>      eval -q fm.ui.browser.pager.move(up=  0.5, pages=True)
+pmap n          eval -q fm.ui.browser.pager.move(down=1.0, pages=True)
+pmap <pagedown> eval -q fm.ui.browser.pager.move(down=1.0, pages=True)
+pmap p          eval -q fm.ui.browser.pager.move(up=  1.0, pages=True)
+pmap <pageup>   eval -q fm.ui.browser.pager.move(up=  1.0, pages=True)
+
 pmap h       eval -q fm.ui.browser.pager.move(left=4)
 pmap l       eval -q fm.ui.browser.pager.move(right=4)
 pmap <left>  eval -q fm.ui.browser.pager.move(left=4)