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

11977Help with MacVim scripting

Expand Messages
  • key.vim@googlemail.com
    Dec 1, 2010
    • 0 Attachment

      for some tasks i like to have a fullscreen app, with a small view on
      the file, for others non-fullscreen-mode.

      for this purpose i tried to write two functions

      function! NoFullscreenMode()
      set nofullscreen
      set guifont=Menlo:h15
      set lines=1000
      set columns=1000
      winpos 4 875

      function! FullscreenMode()
      set fullscreen
      set guifont=Menlo:h20
      set lines=30
      set columns=80

      i have two problems:

      1. in the NoFullscreenMode(), the winpos is not accepted. but after
      executing the script, i can use it in command mode
      2. in the FullScreenMode(), the lines and columns are not accepted. i
      tried to position them before the "set fullscreen", but that did not


      You received this message from the "vim_mac" 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
    • Show all 5 messages in this topic