easy-navigate.vim


Ⅰ. 插件描述

Commonly used navigation keymaps for Vim

Ⅱ. 基本信息

创建日期:  2015-09-05
使用用户:  3
Github星:  4
插件作者:  Nikyle Nguyen

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'nlknguyen/easy-navigate-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'nlknguyen/easy-navigate-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'nlknguyen/easy-navigate-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/easy-navigate.vim

Ⅳ. 文档说明

# easy-navigate.vim
Commonly used navigation keymaps for Vim

Storing them in a separate plugin like this to keep .vimrc clean

Install

Using Vundle plugin manager

Plugin 'NLKNguyen/easy-navigate.vim'

Or manually copy easy-navigate.vim to ~/.vim/plugin/

Keymaps

Navigate Between Buffers

KeysActionEquivalence
]bGo to next buffer:bnext
[bGo to previous buffer:bprevious
]BGo to last buffer:blast
[BGo to first buffer:bfirst

Navigate Between Tabs

KeysActionEquivalence
]tGo to next tab:tabnext
[tGo to previous tab:tabprevious
]TGo to last tab:tablast
[TGo to first tab:tabfirst
,` Open a new tab:tabnew
,1Go to tab #11gt
,2Go to tab #22gt
,3Go to tab #33gt
,4Go to tab #44gt
,5Go to tab #55gt
,6Go to tab #66gt
,7Go to tab #77gt
,8Go to tab #88gt
,9Go to tab #99gt
,-Open file browser in new tab:Texplore

Navigate Between Quickfix Errors

KeysActionEquivalence
]qGo to next error:cnext
[qGo to previous error:cprevious
]QGo to last error:clast
[QGo to first error:cfirst

Navigate Between Location List Items

KeysActionEquivalence
]lGo to next item:lnext
[lGo to previous item:lprevious
]LGo to last item:llast
[LGo to first item:lfirst

Navigate Between Wrapped Lines
These don't affect the usual behavior of the motion keys

KeysActionEquivalence
jGo down a line or wrapped linegj
kGo up a line or wrapped linegk

Related Project

vim-unimpaired

添加新评论