diff options
author | hut <hut@lavabit.com> | 2011-04-01 23:14:20 +0200 |
---|---|---|
committer | hut <hut@lavabit.com> | 2011-04-01 23:14:20 +0200 |
commit | 981bb93f5e21c959dc73c452b08b4fa61d443714 (patch) | |
tree | 7828c7f63bd598c470e189c53cfcc229505f965f /ranger | |
parent | df067336de6fba488b1b4cb450d081c3847dc13a (diff) | |
download | ranger-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.py | 2 |
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')) |