sponsor Vim development Vim logo Vim Book Ad

ZFVimIndentMove : move cursor quickly accorrding to indent

 script karma  Rating 12/3, Downloaded by 875  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: 216.73.216.130

Questions about Vim should go to the maillist. Help Uganda.     Vim at Github