guifont++.vim : Vim plugin for quickly changing GUI font size
| script karma
Downloaded by 2734
Comments, bugs, improvements
script versions (upload new version)
|This plugin defines key mappings to quickly make the GUI font larger or
smaller. The default mappings are "+" to make the font larger by 1 point
and "-" to make the font smaller by 1 point. The original font size can
be restored with "=" key at any time. The mappings are user-configurable
(see the installation section below).
This plugin should work on Unix and Win32 but it will work only with
certain patterns of 'guifont' option, namely:
- on Unix, 'guifont' should be set to the X Logical Font Description
(XLFD) name, for example:
- on Win32, 'guifont' should include 'hXX' font option, for example:
Please let me know if this is not good enough for you.
|Simply copy this plugin into your plugin directory. (See 'plugin' in the
Vim User Manual.) Additionally, you may choose to override one of the
following global variables, which are used by this plugin, in your vimrc
- guifontpp_size_increment (default: 1)
The number of points by which to make the font size smaller or
- guifontpp_smaller_font_map (default: "-")
LHS of the key mapping to make the font size smaller.
- guifontpp_larger_font_map (default: "+")
LHS of the key mapping to make the font size larger.
- guifontpp_original_font_map (default: "=")
LHS of the key mapping to restore the original font size.
For example, you could have something like this in your vimrc file:
Click on the package to download.
ip used for rating: 184.108.40.206