Make sure canceling easymotion with <C-c> fix #237

This commit is contained in:
haya14busa 2016-01-21 19:05:29 +09:00
parent fc056f37fd
commit e777916540

View File

@ -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 ''