about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-04-01 23:14:20 +0200
committerhut <hut@lavabit.com>2011-04-01 23:14:20 +0200
commit981bb93f5e21c959dc73c452b08b4fa61d443714 (patch)
tree7828c7f63bd598c470e189c53cfcc229505f965f /ranger
parentdf067336de6fba488b1b4cb450d081c3847dc13a (diff)
downloadranger-981bb93f5e21c959dc73c452b08b4fa61d443714.tar.gz
defaults/keys.py: Remove <backspace> -> "toggle hidden files" mapping
It was added because I wanted to toggle hidden files with <C-H> but
certain terminals send a <backspace> instead of a <C-H>. This workaround
has a drawback though: Toggling hidden files with backspace makes no
sense and is confusing.
Diffstat (limited to 'ranger')
-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 cd878dee..ea98e4c5 100644
--- a/ranger/defaults/keys.py
+++ b/ranger/defaults/keys.py
@@ -195,7 +195,7 @@ map('du', fm.execute_console('shell -p du --max-depth=1 -h --apparent-size'))
 # -------------------------------------------------- toggle options
 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('zh', '<C-h>', 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'))