Make sure canceling easymotion with <C-c> fix #237
This commit is contained in:
parent
fc056f37fd
commit
e777916540
@ -473,8 +473,8 @@ endfunction " }}}
|
||||
" -- Get characters from user input ------
|
||||
function! s:GetChar() " {{{
|
||||
let char = getchar()
|
||||
if char == 27
|
||||
" Escape key pressed
|
||||
if char == 27 || char == 3
|
||||
" Escape or <C-c> key pressed
|
||||
redraw
|
||||
call s:Message('Cancelled')
|
||||
return ''
|
||||
|
Loading…
Reference in New Issue
Block a user