# HG changeset patch # User Steve Losh # Date 1353347585 18000 # Node ID 504def1b40053b2dfc857dd37724f4052b324e83 # Parent fe6c2182539e03241391ca036b6746c0d7d17258 Fix pulse line. diff -r fe6c2182539e -r 504def1b4005 vim/vimrc --- a/vim/vimrc Mon Nov 19 12:40:06 2012 -0500 +++ b/vim/vimrc Mon Nov 19 12:53:05 2012 -0500 @@ -1772,6 +1772,11 @@ " Pulse Line {{{ function! s:Pulse() " {{{ + let current_window = winnr() + windo set nocursorline + execute current_window . 'wincmd w' + setlocal cursorline + redir => old_hi silent execute 'hi CursorLine' redir END