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
- Comment a line: gcc
- Uncomment: gcc again
- Comment a block: gcip
- Line wrap: <Space>uw
- Relative numbers: <Space>uL
- Search keymaps: <Space>sk
- The plugin manager: <Space>l