Ⅰ. 插件描述
Skip text in INSERT modeⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'habamax/vim-skipit'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'habamax/vim-skipit'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'habamax/vim-skipit'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/habamax/vim-skipit
Ⅳ. 文档说明
# vim-skipit
Skip text in INSERT mode.
If you have g:skipit_default_mappings set to 1 then while INSERT mode on press<CTRL-L>l to skip everything until parentheses, bars or quotes and place
cursor right after them.
Example

| is the cursor position.
def make_me_|cappuccino_coffee(temperature):I want to rename function and insert one more parameter so I issue:
ct_
latte def make_me_latte|_coffee(temperature):Here I press <CTRL-L>l and skip _coffee(
def make_me_latte_coffee(|temperature):Then add some sugar,
def make_me_latte_coffee(sugar, |temperature):And I am ready to exit INSERT mode. <ESC>
Installation
Using vim-plug:
call plug#begin('~/.vim/plugged')
Plug 'habamax/vim-skipit'
call plug#end()