From 3ce28ece6bb3711826e15d74b1184e8f10476842 Mon Sep 17 00:00:00 2001 From: Iain Patterson <me@iain.cx> Date: Wed, 29 Jan 2014 13:36:52 +0000 Subject: [PATCH] Don't use cursor sign if cursorline is active. The sign is a poor relation as it isn't updated in real time. Hide it when cursorline is available. --- .vimrc | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index 29b0b6d..ad1d7e3 100644 --- a/.vimrc +++ b/.vimrc @@ -934,9 +934,15 @@ fun! <SID>Cycle_Signs(resize) "{{{2 " Define the Mark where Symbol is not also the mark name, eg "']". let g:iainsigns = "Less=< Greater=> Left=( Right=) SquareLeft=[ SquareRight=] BraceLeft={ BraceRight=} a-a b-b c-c d-d e-e f-f A-A B-B C-C D-D E-E F-F" if Has_Unicode() - let g:iainsigns = g:iainsigns . " Quote:\"=â Dash:'=â Caret:^.Ê Dot:..⢠Cursor:o>â¶" + let g:iainsigns = g:iainsigns . " Quote:\"=â Dash:'=â Caret:^.Ê Dot:..â¢" + if version < "704" + let g:iainsigns = g:iainsigns ." Cursor:o>â¶" + endif else - let g:iainsigns = g:iainsigns . " Quote=\" Dash=' Caret.^ Dot:..* Cursor>o " + let g:iainsigns = g:iainsigns . " Quote=\" Dash=' Caret.^ Dot:..*" + if version < "704" + let g:iainsigns = g:iainsigns ." Cursor>o" + endif endif endif -- 2.7.4