Loading ...
Sorry, an error occurred while loading the content.

96666Re: How to toggle bottom scroolbar ?

Expand Messages
  • Tony Mechelynck
    Oct 2, 2008
      On 02/10/08 15:04, Patrick Texier wrote:
      > On Thu, 02 Oct 2008 14:33:57 +0200, Tony Mechelynck wrote:
      >> in your gvimrc, or
      >> if has('gui')
      >> set guioptions-=b
      >> endif
      > if has('gui_running')
      > 'gui' means compiled with GUI and will be true on Unix console vim.

      Yes, I used it intentionally.

      If you start Unix Vim in console mode, then later use the ":gui"
      command, the has('gui_running') parts of vimrc won't have run.

      The reason I use the ":if" here is to avoid an error "unknown option" if
      the GUI has not been compiled-in. Setting 'guioptions' has no effect in
      Console mode, but it will be remembered if you switch to GUI mode later on.

      Best regards,
      You will think of something funnier than this to add to the fortunes.

      You received this message from the "vim_use" maillist.
      For more information, visit http://www.vim.org/maillist.php
    • Show all 4 messages in this topic