Ⅰ. 插件描述
Easily increase and decrease guifont's size in gvim.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'ryanmcg/vim-guifontzoom'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'ryanmcg/vim-guifontzoom'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'ryanmcg/vim-guifontzoom'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/ryanmcg/vim-guifontzoom
Ⅳ. 文档说明
# guifontzoom.vim
Purpose
Easily zoom in or zoom out (i.e. increase and decrease guifont size with gvim).
Currently, this plugin only works with GTK.
Implementation
This is not my code. I simply moved a few things around and made this repository
so I could easily install [a gist (called
gtkfont.vim)](https://gist.github.com/4101252) created by github user
menski.
I did make a couple of minor improvements though. I changed the mappings to the following:
nmap <silent> <leader>zi :ZoomIn<CR>
nmap <silent> <leader>zo :ZoomOut<CR>
nmap <silent> <leader>zr :ZoomReset<CR>Also, this version works with float font sizes.