Skip to content

Commit e777916

Browse files
committed
Make sure canceling easymotion with <C-c> fix #237
1 parent fc056f3 commit e777916

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

autoload/EasyMotion.vim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,8 +473,8 @@ endfunction " }}}
473473
" -- Get characters from user input ------
474474
function! s:GetChar() " {{{
475475
let char = getchar()
476-
if char == 27
477-
" Escape key pressed
476+
if char == 27 || char == 3
477+
" Escape or <C-c> key pressed
478478
redraw
479479
call s:Message('Cancelled')
480480
return ''

0 commit comments

Comments
 (0)