jk-jumps


Ⅰ. 插件描述

Handle movements with j/k as if they were real jumps

Ⅱ. 基本信息

创建日期:  2013-01-12
使用用户:  24
Github星:  5
插件作者:  Jeroen Budts

Ⅲ. 安装方法

使用Vundle管理器安装

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

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

使用NeoBundle管理器安装

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

使用VimPlug管理器安装

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

使用Pathogen管理器安装

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

Ⅳ. 文档说明

jk-jumps.txt Handle movements with j/k as if they were real jumps

Author: Jeroen Budts http://budts.be
Repo: https://github.com/teranex/jk-jumps.vim
License: Same terms as Vim itself (see |license|)

SUMMARY jk-jumps

You can easily use the |j| and |k| commands together with a count to jump up
and down your file. Setting the |'relativenumber'| option makes this even

  1. The only problem with this, is that Vim doesn't think of this kind of
  2. as 'jumps'. (see |jump-motions| for the list). This can make using

the |jumplist| rather confusing.
This plugin tries to fix that by changing the j and k commands to act as
jumps, letting you use the jumplist to jump back and forward.

OPTIONS jk-jumps-options

For the moment there is only one option:

                                            *'g:jk_jumps_minimum_lines'*

This options determines what the minimum amount of lines is before a movement
is considered a jump and added to the |jumplist|: >

let g:jk_jumps_minimum_lines = 7

<

vim:tw=78:et:ft=help:

添加新评论