From c6706e5b4d6e16f7c3b93ec1853e3e543f153575 Mon Sep 17 00:00:00 2001 From: Stanley Shyiko Date: Sun, 21 Sep 2014 02:26:40 +0300 Subject: [PATCH] Eliminated cursorline ghosting --- autoload/smooth_scroll.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/autoload/smooth_scroll.vim b/autoload/smooth_scroll.vim index 30fd6ca..267450f 100644 --- a/autoload/smooth_scroll.vim +++ b/autoload/smooth_scroll.vim @@ -40,9 +40,9 @@ function! s:smooth_scroll(dir, dist, duration, speed) for i in range(a:dist/a:speed) let start = reltime() if a:dir ==# 'd' - exec "normal! ".a:speed."\".a:speed."j" + exec "normal! ".a:speed."j\" else - exec "normal! ".a:speed."\".a:speed."k" + exec "normal! ".a:speed."k\" endif redraw let elapsed = s:get_ms_since(start)