Ⅰ. 插件描述
sytax highlight in skim templates(javascript)Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'gaogao1030/vim-skim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'gaogao1030/vim-skim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'gaogao1030/vim-skim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/gaogao1030/vim-skim
Ⅳ. 文档说明
vim-skim
skim syntax highlighting for vim.
Install with vbundle
- [Install Vundle] into
~/.vim/bundle/.
mkdir -p ~/.vim/bundle; pushd ~/.vim/bundle; \
git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
popd
- Configure your vimrc for Vundle. Here's a bare-minimum vimrc that enables vim-skim :
set rtp+=~/.vim/bundle/vundle.vim
call vundle#begin()
Plugin 'gaogao1030/vim-skim'
call vundle#end()
syntax enable
filetype plugin indent onIf you're adding Vundle to a built-up vimrc, just make sure all these calls
are in there and that they occur in this order.
- Open vim and run
:PluginInstall.
To update, open vim and run :PluginInstall! (notice the bang!)