On 31/10/13 20:43, unam3 wrote:
     …In arch linux in vim 7.3, 7.4 by `gvim -S session` or ":so session".
     In 7.3 this thing can be curing by adding "win …" after "set guifont=…"
in session file, but not in 7.4.
     In 7.4 i try to make session with appropriate window size by adding to
'sessionoptions' "resize", "winpos" words. No effect.
     Why does setting up 'guifont' resize gvim window?

If your font size is reduced as a result of setting 'guifont', 'lines' and 'columns' will stay the same, and that means that the size of the Vim screen (in pixels x pixels, cm², sq.in., or whatever) will shrink. Conversely, if setting 'guifont' increases the font size, the screen will get bigger, up to the limits of the GUI full-screen (usually excluding taskbar etc.); if necessary, gvim will reduce 'lines' and/or 'columns' in order to avoid exceeding the screen size.

     How to prevent ":mksession" from writing "set guifont", or avoid this
annoying behaviour?

see :help 'sessionoptions'


Best regards,
Tony.
--
There once was a young man named Clyde
Who fell in an outhouse, and died.
        He had a twin brother
        Who fell in another
And now they're interred side by side.

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

--- You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to