Ⅰ. 插件描述
Fira Mono with Powerline symbols patched in.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'colepeters/fira-for-powerline'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'colepeters/fira-for-powerline'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'colepeters/fira-for-powerline'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/colepeters/fira-for-powerline
Ⅳ. 文档说明
# Fira for Powerline
About
This repository hosts a modified version of Fira Mono, which has been patched to include the requisite Powerline symbols for use with various Vim status/tab bars (Powerline, Lightline, Airline, etc). See screenshot below for an example.
Usage in gvim
To set the font for use in MacVim/gvim:
if has('gui_running')
set guifont=Fira\ Mono\ for\ Powerline:h15
endif
(Adjust the font size (here set as h15) to yr liking.)
License and other info
This typeface is licensed under the SIL Open Font License (OFL), as per the original font files. Please see the master Fira repository on GitHub for license and further information.
Screenshot
