guifont++.vim


Ⅰ. 插件描述

Vim plugin for quickly changing GUI font size

Ⅱ. 基本信息

创建日期:  2003-03-20
使用用户:  1
Github星:  1
插件作者:  Alexander Anderson

Ⅲ. 安装方法

使用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

  1. The default mappings are "+" to make the font larger by 1 point
  2. "-" 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.

添加新评论