summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2010-05-07 09:40:38 +0200
committerhut <hut@lavabit.com>2010-05-10 21:03:39 +0200
commitc03637adfa243cc70b9de3e492669ae820a1ac6f (patch)
tree1c71fabc0b828501d43e5668bc283849d140087d
parentc2179805200ef1f9ebe41b6730c98dbe948a0346 (diff)
downloadranger-c03637adfa243cc70b9de3e492669ae820a1ac6f.tar.gz
close console with <C-D>
-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 b0db8602..b17e5e8f 100644
--- a/ranger/defaults/keys.py
+++ b/ranger/defaults/keys.py
@@ -367,7 +367,7 @@ map('<home>', wdg.move(right=0, absolute=True))
 map('<end>', wdg.move(right=-1, absolute=True))
 map('<tab>', wdg.tab())
 map('<s-tab>', wdg.tab(-1))
-map('<c-c>', '<esc>', wdg.close())
+map('<C-C>', '<C-D>', '<ESC>', wdg.close())
 map('<CR>', '<c-j>', wdg.execute())
 map('<F1>', lambda arg: arg.fm.display_command_help(arg.wdg))