On May 21, 11:11 pm, "Aryeh M. Friedman" <[email protected]>
wrote:
> When I installed vim on my gentoo system it came with three defaults I
> can't figure out how to turn off:
>
>     1. Search highlighting
>     2. The above remembered from session to session
>     3. Automatically moving me to the last edit in a file (if there is
> one) when I open it
>

For (1) and (2), see:
http://vim.wikia.com/wiki/Highlight_all_search_pattern_matches

For (3), you will need to figure out what autocmd is doing this, where
it is defined, and remove it after its definition. It is probably a
BufRead autocmd, defined in a system .vimrc, or in your own .vimrc. It
will probably look something like this, from :help last-position-jump:

        :au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") |
exe "normal! g'\"" | endif

Your system .vimrc file will be listed in your :version output.

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to