vim-walker


Ⅰ. 插件描述

Walks through diffs and quicklists with a single set of keybindings.

Ⅱ. 基本信息

创建日期:  2013-09-12
使用用户:  1
Github星:  1
插件作者:  Vic Goldfeld

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

## vim-walker

Walker is a context-aware list stepper. Here are the heuristics used to
determine what to do:

  • If you are in diff mode, he'll walk you through diffs (uses the vim built-ins
    [c, ]c and so forth)
  • If you are in a buffer with git-diff-like output (i.e. has lines beginning
    with + and/or - and has filetype git/diff), a custom algorithm will

help you walk through each change as if you were in diff mode.

  • Otherwise, the commands will walk you through your quicklist (uses :cfirst,
    :cnext, :cprevious and so on)

The following commands let you use walker to step through lists in a unified,
context-aware fashion:

CommandExample
WalkerFirstnnoremap <Leader>f :WalkerFirst<CR>
WalkerNextnnoremap <Leader>d :WalkerNext<CR>
WalkerPrevnnoremap <Leader>s :WalkerPrev<CR>

More to come, I'm just lazy (and that's all I really use.)

Bitdeli Badge

添加新评论