diff --git a/autoload/EasyMotion.vim b/autoload/EasyMotion.vim index d623ae1..97a0dc3 100644 --- a/autoload/EasyMotion.vim +++ b/autoload/EasyMotion.vim @@ -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 key pressed redraw call s:Message('Cancelled') return ''