Vim Tips Wiki

Fast buffer navigation by buffer numbers

1,623pages on
this wiki
Add New Page
Add New Page Talk0

Proposed tip Please edit this page to improve it, or add your comments below (do not use the discussion page).

Please use new tips to discuss whether this page should be a permanent tip, or whether it should be merged to an existing tip.
created February 5, 2013 · complexity basic · version 7.0

If you ever become bored using :b[N]<CR> to switch to the N-th buffer, try this [N]C-^ in normal mode.

Pressing Ctrl-^ with no count switches to the previous buffer. If count N is provided, it switches to buffer N. For example, instead of using :b1<CR> to switch to the first buffer, press 1 then Ctrl-^.


Also on Fandom

Random Wiki