Fix "e" operator-pending motion

This commit is contained in:
Kim Silkebækken 2011-04-01 08:07:42 +02:00
parent a515b3635d
commit c857f35664

View File

@ -133,7 +133,7 @@
call s:EasyMotion('\<.', a:direction, a:visualmode ? visualmode() : '', '')
endfunction " }}}
function! EasyMotionE(visualmode, direction) " {{{
call s:EasyMotion('.\>', a:direction, a:visualmode ? visualmode() : '', '')
call s:EasyMotion('.\>', a:direction, a:visualmode ? visualmode() : '', mode(1))
endfunction " }}}
function! EasyMotionJK(visualmode, direction) " {{{
call s:EasyMotion('\%1v', a:direction, a:visualmode ? visualmode() : '', '')