2009/10/16 Michael Wookey <[email protected]>: >> Since my original post to vim_use, I have also noticed the same thing >> happen when I run this map: >> n <C-Up> * :silent! let &guifont = substitute(&guifont, >> ':h\zs\d\+', '\=eval(submatch(0)+1)', '')<CR> >> >> This is like Firefox, if I hit CTRL-UP, I increase the fontsize inside >> Vim. Again useful when switching between two different sized / >> resolution monitors. >> >> Changing the guifont, has the same result as :vertical, it causes Vim >> to shift back to the original monitor. > > Actually, I see this behaviour with "guifont" moving the gvim window > to the primary monitor. I'm unsure why that would be. I don't see the > issues with ":vertical".
I see the problem and have attached a patch. Give it a try and see if it fixes the 'guifont' behaviour for you. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
0001-fix-guifont-behaviour-with-Windows-multimonitor.patch
Description: Binary data
