Training plan

20 short Neovim katas, from the modes to LazyVim: motions, editing, selection, macros, registers, buffers and windows. Practice in a real Neovim from your browser.

Create a free account

First steps

Modes, moving around and getting out alive

Motion

Words, jumps, search and flash

  • Words and lines — w, b, e to hop between words; 0, ^, $ for the line. (5 min, 60 XP)
  • Big jumps — Go to a line, paragraphs, brackets and half a page. (5 min, 70 XP)
  • Search — f and t within the line; / and * across the file. (5 min, 70 XP)
  • Flash: jump anywhere — s + two letters + label. LazyVim's star motion. (4 min, 80 XP)

Editing

Delete, insert, change, copy and paste

Selection and objects

Visual mode, text objects and substitutions

  • Visual mode — v, V and Ctrl+v: select by character, line or block. (5 min, 70 XP)
  • Text objects — iw, i", i(, ap: operate on “things”, not positions. (6 min, 90 XP)
  • Search and replace — :s, :%s with g and c, visual ranges and grug-far. (5 min, 80 XP)

Power

Counts, macros, registers and marks

  • Counts — A number in front multiplies any command. (5 min, 70 XP)
  • Macros — Record once, replay a thousand times. (5 min, 90 XP)
  • Registers and marks — Several clipboards and return points. (5 min, 80 XP)

LazyVim

Leader, explorer, pickers, buffers and windows