summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-10-12 03:36:11 +0200
committerhut <hut@lavabit.com>2010-10-12 03:36:11 +0200
commit06abefd30b86f20068786c6cc4b392e070923f2f (patch)
tree77de894903e7ab4d1d769fb050623ede7a751495
parenteaed2443fa77e133809d9c47937ccd301f969fed (diff)
downloadranger-06abefd30b86f20068786c6cc4b392e070923f2f.tar.gz
Added key zv for toggling use_preview_script option
-rw-r--r--ranger/defaults/keys.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/defaults/keys.py b/ranger/defaults/keys.py
index 21a170f7..9e624982 100644
--- a/ranger/defaults/keys.py
+++ b/ranger/defaults/keys.py
@@ -189,11 +189,12 @@ map('E', fm.edit_file())
 map('du', fm.execute_console('shell -p du --max-depth=1 -h --apparent-size'))
 
 # -------------------------------------------------- toggle options
-map('z<bg>', fm.hint("[*cdfhimpPs*] show_*h*idden *p*review_files "\
+map('z<bg>', fm.hint("[*cdfhimpPsv*] show_*h*idden *p*review_files "\
 		"*P*review_dirs *f*ilter flush*i*nput *m*ouse"))
 map('zh', '<C-h>', '<backspace>', fm.toggle_boolean_option('show_hidden'))
 map('zp', fm.toggle_boolean_option('preview_files'))
 map('zP', fm.toggle_boolean_option('preview_directories'))
+map('zv', fm.toggle_boolean_option('use_preview_script'))
 map('zi', fm.toggle_boolean_option('flushinput'))
 map('zd', fm.toggle_boolean_option('sort_directories_first'))
 map('zc', fm.toggle_boolean_option('collapse_preview'))