Aryeh M. Friedman wrote:
> but the :scriptnames does not show the one you mentioned:

In Vim, put the cursor on the following text and type gf
    $VIMRUNTIME/vimrc_example.vim

That should open vimrc_example.vim. Search for
    last known cursor position

One of the scripts listed by :scriptnames is executing code
similar in effect to what is shown by the above.

Another approach would be to enter this command:
    :verbose autocmd BufReadPost *

which might show an autocommand similar to vimrc_example, and
underneath will say 'Last set from ...' where ... is the script
(possibly /etc/vim/vimrc).

Once found, you can possibly comment it out or put an
appropriate command in your vimrc to remove the autocommand.

John

-- 
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