command | description |
---|---|
:edit or :e |
when opening a file, a buffer is automatically created |
:buffers or :ls |
list buffers |
:buffer or :b |
switch to buffer by number or name (<Tab> will complete the buffer name) |
:bnext or :bn |
go to next buffer |
:bprev or :bp |
go to previous buffer |
<C-> |
switch back to previous buffer |
:bd |
close the current buffer |