1.5 KiB
1.5 KiB
Implemented Operators
- Delete
vwd- works in visual modedw- with a motion3d2w- with repeating operator and motiondd- linewised2d- repeated linewiseD- delete to the end of the lineX- delete the character before the cursor
- Change
vwc- works in visual modecw- deletes the next word and switches to insert mode.cc- linewisec2c- repeated linewiseC- change to the end of the line
- Yank
vwy- works in visual modeyw- with a motionyy- linewisey2y- repeated linewise"ayy- supports registers (only named a-h, pending more advanced atom keymap support)Y- linewise
- Indent/Outdent/Auto-indent
vw>- works in visual mode>>- indent current line one level<<- outdent current line one level==- auto-indents current line
- Put
p- default registerP- pastes the default register before the current cursor."ap- supports registers (only named a-h, pending more advanced atom keymap support)
- Join
J- joins the current line with the immediately following line.
- Mark
m[a-z][A-Z]- marks the current cursor position