Learning Neovim > 2: Editing Operators

Neovim’s editing model is built on operators + motions. An operator performs an action (delete, change, yank…), and a motion tells it how far to reach. Delete Key Action dw Delete to start of next word d$ Delete to end of line dd Delete whole line x Delete character under cursor d[motion] Delete + any motion (e.g. d3w, dG) Change Change operators delete text and drop you into Insert mode. ...

January 1, 2020 · 1 min · 188 words