Ⅰ. 插件描述
Try to improve jumping in vim by "w W b B", smartly jump to next or previous language identifiersⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'rargo/vim-identifier-movement'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'rargo/vim-identifier-movement'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'rargo/vim-identifier-movement'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/rargo/vim-identifier-movement
Ⅳ. 文档说明
change log:
2013.9.14:
1. Add lua support
2. Modify default key maps to <c-l>,<c-h>
3. Fix multibyte problem
2014.07.10:
1. add java support
vim plugin, one way to improve move using "w W b B",
smartly move between language indentifier, skip language keywords,comment,strings
default has no key mapping, please add keymap to your .vimrc, for example:
nnoremap <silent> <c-l> :call JumpToNextIndentifier()<cr>
nnoremap <silent> <c-h> :call JumpToPrevIndentifier()<cr>
current surpport language:
c, c++, vim, python, lua, java
rargo.m@gmail.com
Distributed under the same terms as Vim itself.