From 59ae64bb2c8f7a61e95dd7029b44f6a2cc50f931 Mon Sep 17 00:00:00 2001 From: hut Date: Tue, 26 Jan 2010 18:41:39 +0100 Subject: keys: less-like shortcuts in pager --- ranger/defaults/keys.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ranger/defaults/keys.py b/ranger/defaults/keys.py index 24c35648..c800c795 100644 --- a/ranger/defaults/keys.py +++ b/ranger/defaults/keys.py @@ -273,6 +273,10 @@ def _base_pager_commands(command_list): bind('E', fm.edit_file()) bind('?', fm.display_help()) + # --------------------------------------------- less-like shortcuts + alias(KEY_NPAGE, 'd') + alias(KEY_PPAGE, 'u') + def _system_functions(command_list): # Each commandlist should have this bindings -- cgit 1.4.1-2-gfad0