Seven Ways to Edit Many Lines in Neovim, Scored in Keystrokes

Sooner or later you make the same small edit on line one, then line two, then line three. Neovim has had several ways to avoid that loop for years, and a newer one arrives with 0.13: built-in multicursor. This post walks through each method with a small example, covers multicursor in depth, and ends with a rule of thumb and a keystroke count for nine exercises. Multicursor is available only in nightly builds until Neovim 0.13 ships; every other method works in any Neovim, and in Vim.
The post goes with the video Neovim Multi-Line Editing Overview, Multicursor Included, which plays three of the exercises live.





