Section: Buffers

Move between buffers

vim
vim
:bnext  :bprevious
Explanation

Also abbreviated as `:bn` and `:bp`.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Buffers
Open a file
Edit a file in the current window.
OpenIn sheetvimsame section
List buffers
Show all listed buffers.
OpenIn sheetvimsame section
Delete a buffer
Unload a buffer you no longer need.
OpenIn sheetvimsame section
Switch tabs
Move forward or backward between tab pages.
OpenIn sheetvim2 tag match
Move between windows
Navigate split panes from normal mode.
OpenIn sheetvim2 tag match
Horizontal split
Split the current window horizontally.
OpenIn sheetvim1 tag match