Permalink
Browse files

Fix pulse line.

  • Loading branch information...
1 parent aae6c0e commit 6b1dd14b0b7e12aa74df57ef9863e9cd76aa02d1 @sjl committed Nov 19, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 vim/vimrc
View
@@ -1772,6 +1772,11 @@ nnoremap <leader>B :call BlockColor()<cr>
" 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

0 comments on commit 6b1dd14

Please sign in to comment.