normal·mode
~ / visual / block-editlesson 5/6

Edit a column: I, c and r on a block

Type once and every selected line gets it: block insert, block change, replace.

3 drills

  1. One prefix, every line: Add the prefix from the target to the first four lines at once with <C-v> and I. The last line stays as it is.
  2. Rename a column with c: Rename the word in the aligned column on the first four lines, as in the target. Select the word on those four lines as a block and use c.
  3. Underline a heading with Vr: Underline the heading Markdown-style: duplicate the line, then turn every character of the copy into the underline character from the target with V and r.

The drill editor loads in your browser.

outside the editor the page is in normal mode: ? keymaps · / find · : commandsfound this useful? ☕ support it ·credits · source · not affiliated with Vim or Neovim