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" \
a> 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148