summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-03-24 04:13:28 +0100
committerhut <hut@lavabit.com>2010-03-24 04:15:00 +0100
commit72a54bfbf2ee95a409c43df93eea702df7b56b18 (patch)
tree01365e90c86b204b61af927ad1c2e6205b229b38 /ranger
parent3937f01085b05b486a597cd6865ca49a5af2a1e4 (diff)
downloadranger-72a54bfbf2ee95a409c43df93eea702df7b56b18.tar.gz
added J/K hotkeys for faster movement
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 1c2e2b21..6042fd8b 100644
--- a/ranger/defaults/keys.py
+++ b/ranger/defaults/keys.py
@@ -73,8 +73,8 @@ def initialize_commands(map):
 	map('%', fm.move_pointer_by_percentage(absolute=50))
 	map(KEY_NPAGE, fm.move_pointer_by_pages(1))
 	map(KEY_PPAGE, fm.move_pointer_by_pages(-1))
-	map(ctrl('d'), fm.move_pointer_by_pages(0.5))
-	map(ctrl('u'), fm.move_pointer_by_pages(-0.5))
+	map(ctrl('d'), 'J', fm.move_pointer_by_pages(0.5))
+	map(ctrl('u'), 'K', fm.move_pointer_by_pages(-0.5))
 
 	map(']', fm.traverse())
 	map('[', fm.history_go(-1))