summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-08-13 02:10:18 +0200
committerhut <hut@lavabit.com>2010-08-13 02:10:18 +0200
commitc2a8c862631cb7301e173795273a363aa5913834 (patch)
tree8f2a716207cda1978915e93cc99fe913cf62dcfd
parent0fd09f7318210f6e4f8d91f7f39ecf9b83ce4879 (diff)
downloadranger-c2a8c862631cb7301e173795273a363aa5913834.tar.gz
defaults.keys: map <backspace> to ^H (since ^H is bugged sometimes)
-rw-r--r--ranger/defaults/keys.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ranger/defaults/keys.py b/ranger/defaults/keys.py
index 75f6eb2e..1f42b6ee 100644
--- a/ranger/defaults/keys.py
+++ b/ranger/defaults/keys.py
@@ -191,7 +191,7 @@ map('du', fm.execute_console('p!du --max-depth=1 -h --apparent-size',
 # -------------------------------------------------- toggle options
 map('z<bg>', fm.hint("[*cdfhimpPs*] show_*h*idden *p*review_files "\
 		"*P*review_dirs *f*ilter flush*i*nput *m*ouse"))
-map('zh', '<C-h>', fm.toggle_boolean_option('show_hidden'))
+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('zi', fm.toggle_boolean_option('flushinput'))