Home

Awesome

More Vi Motions

Gitter Matrix

Add more Vi Motions

Motions added:

New*MapKeybindingMotion
Novicmd viins\e[H \e[F (Home/End)beginning/end of line
Novicmd vioppa' a" a` select a quoted string or backticks
Novicmd vioppi' i" i` select in a quoted string or backticks
Novicmd vioppa( a[ a{ a< ab a) a] a} a> aBselect a bracketed segment
Novicmd vioppi( i[ i{ i< ib i) i] i} i> iBselect in a bracketed segment
No**vicmdcs ds yschange/delete/add surrounding quotes/brackets
NovisualSadd surrounding quotes/brackets
Yesvioppv[motion]Force motion character-wise, or toggle exclusivity (see :h forced-motion in Vim)
Yesvicmd viopp visual) ( g) g(move forward/back to start/end of command
Yesvicmd vioppas aSselect a command
Yesvicmd vioppis iSselect in a command (exclude terminating ; and control flow words)
Yesvicmd viopp visual(Not enabled by default)Move forward/back to start/end of $WORDCHARS-dependant words
Yesvicmd viopp visual(Not enabled by default)Move forward/back to start/end of shell words

*("New": Plugins marked as "not new" are distributed with Zsh and are simply loaded by this plugin. Plugins marked as "new" are written and maintained in this repo.)

**(The cs ds ys commands don't work well by default due to KEYTIMEOUT problems/conflicting with the c d y commands. I wrap c d y here, this lets me fix this problem.)

Future additions(?):

Select in/a command list (Note, [;] is any kind of command terminator)