summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-04-19 10:31:09 +0200
committerhut <hut@lavabit.com>2010-04-19 10:31:09 +0200
commitaa8a45f37c701d1b592a281b2108e44c99753e58 (patch)
treeb4a0dbdf28c3651663615d576b1619ee4a5be48b
parentac9e3108c8ace681ef7455ad4044c4f2f3d46700 (diff)
downloadranger-aa8a45f37c701d1b592a281b2108e44c99753e58.tar.gz
defaults.keys: updated hint, added "zm"
-rw-r--r--ranger/defaults/keys.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/ranger/defaults/keys.py b/ranger/defaults/keys.py
index 270acae8..fc0beab6 100644
--- a/ranger/defaults/keys.py
+++ b/ranger/defaults/keys.py
@@ -171,8 +171,8 @@ map('.term', fm.execute_command('x-terminal-emulator', flags='d'))
 map('du', fm.execute_command('du --max-depth=1 -h | less'))
 
 # -------------------------------------------------- toggle options
-map('z<bg>', fm.hint("show_*h*idden *p*review_files" \
-	"*d*irectories_first *c*ollapse_preview flush*i*nput"))
+map('z<bg>', fm.hint("show_*h*idden *p*review_files *P*review_dirs " \
+	"*d*irs_first flush*i*nput *m*ouse"))
 map('zh', fm.toggle_boolean_option('show_hidden'))
 map('zp', fm.toggle_boolean_option('preview_files'))
 map('zP', fm.toggle_boolean_option('preview_directories'))
@@ -180,6 +180,7 @@ map('zi', fm.toggle_boolean_option('flushinput'))
 map('zd', fm.toggle_boolean_option('sort_directories_first'))
 map('zc', fm.toggle_boolean_option('collapse_preview'))
 map('zs', fm.toggle_boolean_option('sort_case_insensitive'))
+map('zm', fm.toggle_boolean_option('mouse_enabled'))
 
 # ------------------------------------------------------------ sort
 map('o<bg>', 'O<bg>', fm.hint("*s*ize *b*ase*n*ame *m*time" \