sponsor Vim development Vim logo Vim Book Ad

ZFVimIndentMove : move cursor quickly accorrding to indent

 script karma  Rating 12/3, Downloaded by 714  Comments, bugs, improvements  Vim wiki

created by
zero fighter
 
script type
utility
 
description
vim script to move cursor quickly accorrding indent

git repo: https://github.com/ZSaberLv0/ZFVimIndentMove

check the above git repo for preview
 
install details
1. use Vundle(https://github.com/VundleVim/Vundle.vim) or any other plugin manager you like to install

    Plugin 'ZSaberLv0/ZFVimIndentMove'

    or, unzip and copy content to your vim's rtp ($HOME/.vim)

2. have your own keymap in your vimrc, recommended keymap:

    nnoremap EE ``
    nnoremap EH :call ZF_IndentMoveParent('n')<cr>
    xnoremap EH :<c-u>call ZF_IndentMoveParent('v')<cr>
    nnoremap EL :call ZF_IndentMoveParentEnd('n')<cr>
    xnoremap EL :<c-u>call ZF_IndentMoveParentEnd('v')<cr>
    nnoremap EK :call ZF_IndentMovePrev('n')<cr>
    xnoremap EK :<c-u>call ZF_IndentMovePrev('v')<cr>
    nnoremap EJ :call ZF_IndentMoveNext('n')<cr>
    xnoremap EJ :<c-u>call ZF_IndentMoveNext('v')<cr>
    nnoremap EI :call ZF_IndentMoveChild('n')<cr>
    xnoremap EI :<c-u>call ZF_IndentMoveChild('v')<cr>
 

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
ZFVimIndentMove.zip 1.0 2017-06-20 7.3 zero fighter Initial upload
ip used for rating: 3.143.0.157

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