From c857f356648c5205404f07c6aa68a6b6a0cb8152 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kim=20Silkeb=C3=A6kken?= Date: Fri, 1 Apr 2011 08:07:42 +0200 Subject: [PATCH] Fix "e" operator-pending motion --- plugin/EasyMotion.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/EasyMotion.vim b/plugin/EasyMotion.vim index e35969e..34b698c 100644 --- a/plugin/EasyMotion.vim +++ b/plugin/EasyMotion.vim @@ -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() : '', '')