Ⅰ. 插件描述
Framer X Playground's colors, but in Vim (but especially MacVim)Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'balanceiskey/vim-framer-syntax'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'balanceiskey/vim-framer-syntax'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'balanceiskey/vim-framer-syntax'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/balanceiskey/vim-framer-syntax
Ⅳ. 文档说明
# vim-framer-syntax

A straight rip of Framer X's beautiful in-app editor. It's faithful to Framer's original color choices and where necessary, makes tweaks that benefit Vim (think extensions like lightline and ctrlp) and non-JS based projects. It's built using estilo. JavaScript was tuned against pangloss' vim-javascript.
Install
This'll work just fine with your Vim-plugin-manager-of-choice, just target this repo. With vim-plug I do this:
Plug 'balanceiskey/vim-framer-syntax'And run :PlugInstall. Set the color scheme by running :color vim-framer-syntax or updating your .vimrc with color vim-framer-syntax.
Lightline
To use the accompanying lightline theme, add the following to your .vimrc:
let g:lightline = {
\ 'colorscheme': 'framer',
\ }