On 23 okt, 18:09, fritzophrenic <[EMAIL PROTECTED]> wrote:
> On Oct 23, 10:24 am, John Degen <[EMAIL PROTECTED]> wrote:
>
>
>
> > I have set showcmd in my .vimrc and .gvimrc. Yet the option is
> > disabled if I start gVim or Vim. How can I tell where this option was
> > _not_ set? :showcmd works as expected.
>
> > My version is 7.1.138, +cmdline_info
>
> > The output of :script is
>
> > 1: /usr/share/vim/vimrc
> > 2: /usr/share/vim/vim71/debian.vim
> > 3: /usr/share/vim/vim71/filetype.vim
> > 4: /usr/share/vim/vim71/menu.vim
> > 5: /usr/share/vim/vim71/autoload/paste.vim
> > 6: /usr/share/vim/vim71/ftplugin.vim
> > 7: /home/john/.vimrc
> > 8: /usr/share/vim/vim71/colors/darkblue.vim
> > 9: /usr/share/vim/vim71/syntax/syntax.vim
> > 10: /usr/share/vim/vim71/syntax/synload.vim
> > 11: /usr/share/vim/vim71/syntax/syncolor.vim
> > 12: /usr/share/vim/vim71/plugin/getscriptPlugin.vim
> > 13: /usr/share/vim/vim71/plugin/gzip.vim
> > 14: /usr/share/vim/vim71/plugin/matchparen.vim
> > 15: /usr/share/vim/vim71/plugin/netrwPlugin.vim
> > 16: /usr/share/vim/vim71/plugin/rrhelper.vim
> > 17: /usr/share/vim/vim71/plugin/spellfile.vim
> > 18: /usr/share/vim/vim71/plugin/tarPlugin.vim
> > 19: /usr/share/vim/vim71/plugin/tohtml.vim
> > 20: /usr/share/vim/vim71/plugin/vimballPlugin.vim
> > 21: /usr/share/vim/vim71/plugin/zipPlugin.vim
> > 22: /usr/share/vim/gvimrc
> > 23: /home/john/.gvimrc
> > 24: /usr/share/vim/vim71/syntax/nosyntax.vim
>
> > Thanks for any pointers.
> > John
>
> Enter the command (with the '?'):
> :verbose set showcmd?
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?
Thanks again!
John
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---