sponsor Vim development Vim logo Vim Book Ad

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

 script karma  Rating -1/1, Downloaded by 2001  Comments, bugs, improvements  Vim wiki

created by
Jeroen Budts
 
script type
utility
 
description
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.
 
install details
Extract the zip to ~/.vim or if you use Pathogen or a similar plugin you can also use the git-repository:
https://github.com/teranex/jk-jumps.vim
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
jk-jumps.tar.gz 0.4 2013-01-24 7.0 Jeroen Budts Fixed jumping over closed folds
jk-jumps.tar.gz 0.3 2013-01-13 7.0 Jeroen Budts correctly handle jumping up to a closed fold
jk-jumps.tar.gz 0.2 2013-01-12 7.0 Jeroen Budts Use <silent> in mappings
jk-jumps.vim.zip 0.1 2013-01-12 7.0 Jeroen Budts Initial upload
ip used for rating: 18.97.14.85

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github