Permalink
Browse files

Fix ESC in CommandT while in terminal Vim not working

  • Loading branch information...
1 parent 60d04d8 commit 11d3d71732908c131cf545a8799180610afc489e Andrew Marshall committed Oct 26, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 init/command_t.vim
View
@@ -1,3 +1,8 @@
" Small default height for CommandT
let g:CommandTMaxHeight=20
let g:CommandTMaxFiles=20000
+
+" Make ESC work in CommandT while in terminal Vim
+if &term =~ "xterm" || &term =~ "screen"
+ let g:CommandTCancelMap=['<ESC>']
+end

0 comments on commit 11d3d71

Please sign in to comment.