On 24 October 2011 14:43, Giovanni Lanzani wrote:
> I did just that, comment out
>     set fuoptions=maxhorz,maxvert
> however that didn't do the trick

You need to

set fuopt=maxvert

See ":h 'fuopt" for more information.

As for changing font size and number of columns when toggling
full-screen, try adding these three lines (re-join them so that they
form three lines in case they have been split when I posted them) to
your ~/.gvimrc:

----- 8< ----
set fuopt=maxvert

command! ToggleFullScreen if &fu|set gfn=Menlo:h13|set co=80|set
nofu|else|set gfn=Menlo:h18|set co=120|set fu|endif

an <silent> Window.Toggle\ Full\ Screen\ Mode :ToggleFullScreen<CR>
----- >8 ----

Note that I've had reports that changing 'co' and 'fu' at the same
time can fail so I can't guarantee that the above works.  However,
I've just tested it and it works fine for me.  Also note that in order
for it to work you have to enter full-screen by using the menu, or by
pressing the shortcut for the menu (which should be Cmd+Ctrl+f unless
you are using an old version of MacVim).

Björn

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

Reply via email to