Training plan › LazyVim

Working with code

Commenting, toggling options and discovering keymaps.

gcc comments or uncomments the current line and gc + motion or object comments a block (gcip comments the paragraph). The <Space>u family toggles UI options: <Space>uw line wrap, <Space>uL relative numbers. And <Space>sk searches through every keymap defined.

7 steps · 5 min · 80 XP

  1. Comment a line: gcc
  2. Uncomment: gcc again
  3. Comment a block: gcip
  4. Line wrap: <Space>uw
  5. Relative numbers: <Space>uL
  6. Search keymaps: <Space>sk
  7. The plugin manager: <Space>l

Create a free account