Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
Great plugin! I like the mouse wheel zoom control.
To make fontzoom plugin work, I first had to set the font from the menu, each time I started a new seaaon with gvim. After that
&guifont was no longer empty, and fontzoom worked. Adding this to the plugin, makes it work without a trip to the font menu:
if &guifont == '' let &guifont = "Monospace 10" endif
This may not have the same effect for others, I'm on a Ubuntu Linux distribution. It would be nicer to query the default, but I not aware of how to do that. --January 27, 2013
- It's probably better to set the font wanted in your vimrc, in which case 'guifont' would be set. The way to set an option like this to its default value is with
:set guifont&vim, however that is not useful in this case because the default is an empty string (Vim cannot reasonably know what font is available). JohnBeckett (talk) 03:49, January 29, 2013 (UTC)
- You can query the font attribute using a synIDattr() call, e.g.
:echo synIDattr(hlID('Normal'), 'font')Chrisbra (talk) 15:50, January 29, 2013 (UTC)