Wikia

Vim Tips Wiki

Fast buffer navigation by buffer numbers

Talk0
1,599pages on
this wiki

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

<C-^> cannot only switch to the previous buffer, but also to all the other buffers, if you prefix the command with the buffer number. For example, instead of using :b1<CR> to switch to the first buffer, you can use 1<C-^> and save a lot of effort and frustration :-)

Happy Hacking!

Advertisement | Your ad here

Photos

Add a Photo
103photos on this wiki
See all photos >

Recent Wiki Activity

See more >

Around Wikia's network

Random Wiki