diff options
author | hut <hut@lavabit.com> | 2010-01-26 18:41:39 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2010-01-26 18:41:39 +0100 |
commit | 59ae64bb2c8f7a61e95dd7029b44f6a2cc50f931 (patch) | |
tree | 289508c3ac05e69a8c548a256f254f0d05acf1cf /ranger | |
parent | f58d444550a11c8765bc882debe79127ae9afdd1 (diff) | |
download | ranger-59ae64bb2c8f7a61e95dd7029b44f6a2cc50f931.tar.gz |
keys: less-like shortcuts in pager
Diffstat (limited to 'ranger')
-rw-r--r-- | ranger/defaults/keys.py | 4 |
1 files changed, 4 insertions, 0 deletions
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 |