Wikia

Vim Tips Wiki

Fast buffer navigation by buffer numbers

Talk0
1,610pages on
this wiki

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-^.

CommentsEdit

Advertisement | Your ad here

Around Wikia's network

Random Wiki