Ⅰ. 插件描述
space.vim - Smart Space key for VimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'spiiph/vim-space'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'spiiph/vim-space'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'spiiph/vim-space'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/spiiph/vim-space
Ⅳ. 文档说明
# space.vim
space.vim is a plugin which remaps the <Space> key to act as a clever
key to repeat motions. It hooks into several of the more complex motion
commands, such as search commands, diff movement commands, quickfix and
location list commands, tag commands and more. When a command that space.vim
has hooked into is issued, it remaps the <Space> key to repeat that
command, and it also remaps <S-Space> and <BS> to do the inverse.