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 ------
|
" -- Get characters from user input ------
|
||||||
function! s:GetChar() " {{{
|
function! s:GetChar() " {{{
|
||||||
let char = getchar()
|
let char = getchar()
|
||||||
if char == 27
|
if char == 27 || char == 3
|
||||||
" Escape key pressed
|
" Escape or <C-c> key pressed
|
||||||
redraw
|
redraw
|
||||||
call s:Message('Cancelled')
|
call s:Message('Cancelled')
|
||||||
return ''
|
return ''
|
||||||
|
Loading…
Reference in New Issue
Block a user