about summary refs log tree commit diff stats
path: root/ranger
diff options
context:
space:
mode:
authorLeo Vivier <leo.vivier@gmail.com>2018-08-26 15:18:43 +0200
committerLeo Vivier <leo.vivier@gmail.com>2018-08-26 15:18:43 +0200
commit30e5cef1b5b49aa6358dd5eee815ed8b468f7264 (patch)
tree7da0cd0a582faed157271e6c81aa443c80cd44ce /ranger
parent8d4808fc6a0f36960ff9999b99e9030d93286e41 (diff)
downloadranger-30e5cef1b5b49aa6358dd5eee815ed8b468f7264.tar.gz
Add <C-g> as an alias to <ESC> in console
Mimics the behaviour of <C-g> in Emacs.
Diffstat (limited to 'ranger')
-rw-r--r--ranger/config/rc.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/ranger/config/rc.conf b/ranger/config/rc.conf
index b112dc2c..0228725e 100644
--- a/ranger/config/rc.conf
+++ b/ranger/config/rc.conf
@@ -628,6 +628,7 @@ cmap <C-u>        eval fm.ui.console.delete_rest(-1)
 cmap <C-y>        eval fm.ui.console.paste()
 
 # And of course the emacs way
+copycmap <ESC>       <C-g>
 copycmap <up>        <C-p>
 copycmap <down>      <C-n>
 copycmap <left>      <C-b>