On Oct 23, 1:24 pm, John Degen <[EMAIL PROTECTED]> wrote:
> Thanks, your idea put me on the right track:
>
> The output of :verbose set showcmd was:
> noshowcmd
> Last set from ~/.gvimrc
>
> which is strange, because both .gvimrc an .vimrc contain set showcmd.
> But I found set nocompatible was set twice in both files. After
> correcting this the command works as expected. Is this a bug you
> think?
>
I don't think so.
:help 'showcmd' says that the Vim default is "on, off for Unix"
I've only been using Vim for about a year, so I'm not as familiar with
this as others will be, but I think the following is correct:
Doing a ":set nocompatible" will (re)set all options to Vim defaults.
Since the .gvimrc is sourced _after_ the .vimrc, setting nocompatible
in the gvimrc will reset all the options you painstakingly set in your
vimrc. So setting nocompatible in a gvimrc at all is not generally a
good idea. Setting nocompatible should happen only once, at the very
beginning of a vimrc.
Tony et al. will no doubt correct me if I'm wrong :-)
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---