On 10/24/06, Fabian Braennstroem <[EMAIL PROTECTED]> wrote:
Hi,
I just found the new ':set cul' feature, which underlines
the current line. Now, I would like to use it just for
searching (it seems to slow to use it for general editing),
i.e. when I jump to a search result using n|N I want to see
the 'underline', but as soon as I start editing the line, it
should disappear again.
Does anybody have an idea, how I can achieve this?
noremap n :set cul<cr>n
noremap N :set cul<cr>n
au InsertEnter * set nocul
(untested)
Yakov