Operators accepting movements
- Except for moving around, one can use the movement commands as input to various operators that precede them.
- Here are some:
d
- "cut" the text moved over into a registery
- copy the text moved over into a register.!
- filter through an external program>
- indent to the right<
- unindentzf
- define a fold.c
- "cut" the text into the register and start editing.- For example If you have the string "Hello Good People!" and you want it replaced by something else, you can do the following:
f"
- to move to the first quotation mark.l
or<Right>
- to move one character to the right.ct"
- to delete the text up to the"
and start typing new text instead.
- All of them are listed in :help motion.txt and more can be defined by the user.