Sunday, March 6, 2011

Re: Toolbars in Gvim (Debian + KDE 4.4.5) won't switch off

On Mar 6, 8:51 pm, "Benjamin R. Haskell" <v...@benizi.com> wrote:

<snip>
>
> So, to John: I'd recommend keeping your .gvimrc exactly as you had it,
> except wrapping the 'set tb=' command in the GUIEnter autocmd:
>
> ==> .gvimrc <==
> set vb t_vb=
> set showcmd
> set guioptions=aegiLt
> au GUIEnter * set tb=
> ===============
>
> This is both futureproof, in that it doesn't require modifying anything
> distributed with Vim, which Sergey rightly points out will be
> overwritten when upgrading Vim.  And it keeps all of your GUI-related
> options in one place.  (And it works in both vim-gnome and vim-gtk, but
> I'm guessing that's not very important to you.)
>
> --
> Best,
> Ben

Thanks Sergey and Ben. The autocommand works fine and covers my needs.

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