This commit is contained in:
haya14busa 2014-01-16 15:57:23 +09:00
parent c7e1b7c2bf
commit 335ea6dac7

View File

@ -1307,7 +1307,7 @@ function! s:EasyMotion(regexp, direction, visualmode, is_exclusive, ...) " {{{
" -- Jump back before prompt for visual scroll {{{
" Because searchpos() change current cursor position and
" if you just use cursor([orig_num, orig_pos]) to jump back,
" current line will bebecome center of window
" current line will become center of window
if ! empty(a:visualmode)
keepjumps call cursor(win_first_line,0)
normal! zt