Ⅰ. 插件描述
Vim plugin for quickly changing GUI font sizeⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/guifont-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/guifont-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/guifont-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/guifontpp.vim
Ⅳ. 文档说明
This plugin defines key mappings to quickly make the GUI font larger or
- The default mappings are "+" to make the font larger by 1 point
- "-" 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:
set guifont=--lucidatypewriter-bold----15-------*
- on Win32, 'guifont' should include 'hXX' font option, for example:
set guifont=Lucida_Console:h8:cANSI
Please let me know if this is not good enough for you.