summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-05-07 09:39:01 +0200
committerhut <hut@lavabit.com>2010-05-10 21:03:39 +0200
commitc2179805200ef1f9ebe41b6730c98dbe948a0346 (patch)
treea5a722e172db47975b18bef68779bc4dc38d8ccd /ranger
parent7399ac4642328e5e281c45233062945e26df6a26 (diff)
downloadranger-c2179805200ef1f9ebe41b6730c98dbe948a0346.tar.gz
added <C-P> and <C-N> keys to console
Diffstat (limited to 'ranger')
-rw-r--r--ranger/defaults/keys.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/defaults/keys.py b/ranger/defaults/keys.py
index 71d17dd6..b0db8602 100644
--- a/ranger/defaults/keys.py
+++ b/ranger/defaults/keys.py
@@ -361,8 +361,8 @@ map = keymanager.get_context('console')
 map.merge(global_keys)
 map.merge(readline_aliases)
 
-map('<up>', wdg.history_move(-1))
-map('<down>', wdg.history_move(1))
+map('<up>', '<C-P>', wdg.history_move(-1))
+map('<down>', '<C-N>', wdg.history_move(1))
 map('<home>', wdg.move(right=0, absolute=True))
 map('<end>', wdg.move(right=-1, absolute=True))
 map('<tab>', wdg.tab())