Ⅰ. 插件描述
Vim plugin to repeat the last G movementⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'teddywing/vim-grappele'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'teddywing/vim-grappele'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'teddywing/vim-grappele'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/teddywing/vim-grappele
Ⅳ. 文档说明
grappele.vim
Provides a way to repeat the last G command.
Example scenario:
- Type 398G
- Switch to a different buffer
- Use Grappele's
gGcommand to go to line 398 in our new current buffer
This way if you mistake the currently active window for example, there's an easy
way to get to the right line without having to manually type out the line number
again.
Installation
Install using any of the various Vim plugin managers. If you use
pathogen, you can run the following to
install:
cd ~/.vim/bundle
git clone https://github.com/teddywing/vim-grappele.git
License
Copyright © 2015–2018 Teddy Wing. Licensed under the GNU GPLv3+ (see the included
COPYING file).