[TriLUG] need help from the vi gurus
Chris MacLeod
stick at miscellaneous.net
Wed Dec 10 14:46:30 EST 2003
set nohlsearch will turn the behavior off for that session
:nohl does pretty much the same thing (hlsearch is the the set variable for it)
I use the following:
map ^X :set hls!<CR>:set hls?<CR>
That will map ^X to toggle hilighting on or off
http://www.vim.org has great documentation and tons of tip, tricks and scripts to make vim behave exactly
as you want it.
Stick
On Tue, Dec 09, 2003 at 08:20:14AM -0500, Douglas Kojetin wrote:
>
> Somehow I set 'vi' to highlight on a pattern of text, and I find it
> rather annoying (well, it's helpful, but it's annoying that I a] do not
> know how i did it, and b] cannot figure out how to unset it). I tried
> deleted anything that appeared to be a reference to it in my ~/.viminfo
> file, but no dice!
>
> Can anyone point me towards a nice, definitive VIM/VI online reference
> and/or help me out? If help is chosen :) ... I'll pose the question,
> what (online or not: pdf, ps, book) do you recommend for a vi 'quick
> reference'?
>
> Many thanks,
> Doug
>
> --
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring : http://trilug.org/~chrish/trilug.asc
>
--
http://stick.miscellaneous.net
Chris MacLeod
More information about the TriLUG
mailing list