Ⅰ. 插件描述
Adjust Gvim font size via keypressesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'drmikehenry/fontsize'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'drmikehenry/fontsize'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'drmikehenry/fontsize'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/drmikehenry/vim-fontsize
Ⅳ. 文档说明
Fontsize - Adjust font size via keypresses
Fontsize provides key mappings for adjusting the font size in Gvim. The
initial mappings launch a "font size" mode in which single keypresses are used
to adjust the font. This mode ends after a timeout or when the user presses
any key not defined in the mode.
For example, using the default key bindings, pressing <Leader><Leader>+ will
enter "font size" mode and increase the font size by one. Once in the mode,
pressing the "+" key repeatedly will increase the font size by one for each
additional press.
See documentation in doc/fontsize for installation and usage instructions.
Developed by Michael Henry (vim at drmikehenry.com).
Distributed under Vim's license.
Git repository: https://github.com/drmikehenry/vim-fontsize