Wednesday, September 22, 2010

Re: Mappings that never go away

On 2010-09-22, Henry Hertz Hobbit wrote:
> First be sure you didn't also add it to the %ProgramFiles%\Vim\vim##
> \vimrc (where ## is your version number) file. Before you do any of
> the rest of this make sure you edit your _virmc file and the other
> system file (if you have one) with NotePad or some other editor that
> is not depending on the _vimrc file to make sure the line is really
> gone. You would do the same thing with a .emacs file on 'nix. Do not
> use the editor that uses that startup file to edit the starup file.
> Use some other editor instead. You could potentially end up with
> recursion problems!

You don't need to do that. The system vimrc and your personal
_vimrc or .vimrc are read only once, when Vim starts. Other Vim
configuration files are read at deterministic times as well. There
is no problem at all with using Vim to edit any Vim configuration
file.

If there is a problem with a configuration file that prevents Vim
from behaving properly, start vim with the "-u NONE" option. If the
problem is with your .viminfo or _viminfo file and you want to edit
it rather that just blow it away, start Vim with the "-i NONE"
option.

Regards,
Gary

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

No comments: