| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
| |
Z] - move to the end of the next text object
Z[ - move to the start of the next text object
Zd - delete in the recorded text object
Zc - change in the recorded text object
Zn - repeat Z]
|
| |
|
|
|
|
|
|
|
|
|
| |
ZO - insert a new line before the text object/motion and enter insert
mode.
Zo - insert a new line after the text object/motion and enter insert
mode.
Z[ - Go to the beginning of a text object. (Can be used as a text object
itself)
Z] - Go to the end of a text object. (Can be used as a text object
itself.)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
So typing Ziib will move the cursor to the next body and enter INSERT
mode.
Zaib will move the cursor to the END of the next body and enter INSERT
mode
Ziiw will enter insert mode before the current word
Zaiw will enter insert mode after the current word.
Ziip will enter insert mode befor the current paragraph
thus, Zi^ is semantically equivalent to I and Za$ is semantically
equivalent to A.
Zib will move the cursor back a word and enter insert mode.
All of these commands are repeatable with the dot (.) operator.
much of this same thing can be accomplished with the change operator (c)
and use of ^R^P", but that's quite obtuse, especially when working on
large text objects.
Right now, without Rahm's patched Neovim using user-defined text objects
will cause these commands to not play well with the dot (.) operator.
This is because do accomplish this, this plugin uses an operator within
an operator which is not well supported in Vim.
|
|
|
c[g]I - starts insert after the v:count1'th WORD. If the g is not
supplied, whitespace is skipped and insert starts right before th
e (v:count1+1)'th WORD.
|