Training plan › LazyVim
Buffers and windows
Switch files, close them and split the screen.
Every open file is a buffer; the top bar (bufferline) shows them as tabs. Shift+l and Shift+h go to the next and previous one; <Space>bd closes the current one. Windows split the screen: <Space>| splits vertically, <Space>- horizontally, and you move between them with Ctrl+h/j/k/l.
7 steps · 5 min · 80 XP
- Next buffer: Shift+l
- Previous buffer: Shift+h
- Pick a buffer: <Space>,
- Close a buffer: <Space>bd
- Vertical split: <Space>|
- Move between windows: Ctrl+h
- Close the window: <Space>wd