Ⅰ. 插件描述
vim-script for jump to include smarty filesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'watanabe0621/smartyjump-who-speaks'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'watanabe0621/smartyjump-who-speaks'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'watanabe0621/smartyjump-who-speaks'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/watanabe0621/smartyjump
Ⅳ. 文档说明
## About
SmartyJump is a vim plugin for jump to smarty include file
How to Use
Simply, you can use this plugin with the following shortcuts.
nnoremap <silent> <space>b :e#<CR>
nnoremap <silent> <space>i :call SmartyJump()<CR>If you managed vim-plugin with bundle, add the following setting to your vimrc.
Bundle 'watanabe0621/SmartyJump'