-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathjk-jumps.txt
26 lines (20 loc) · 1.1 KB
/
jk-jumps.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
*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
easier. The only problem with this, is that Vim doesn't think of this kind of
movement 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: