Hacker News new | past | comments | ask | show | jobs | submit login

You can use :ls to view all buffers, and if you do :b and start typing the filename of a buffer, you can get completion suggestions with tab, or just hit enter to jump to the first file that matches what you've typed so far.

Use Ctrl-6 (also referred to as Ctrl-^, C-6 or C-^) to swap between your current buffer and the "alternate" buffer, which is usually the last buffer you were looking at.

Use Ctrl-o and Ctrl-i to track up and down the "jump list". C-o is another good way to get back to the buffer you were just looking at, like C-6.




There is also a wealth of plugins for buffer switching; I like FuzzyFinder's :FufBuffer command. Invoke it and the most recent buffer will be at the top, so you can hit enter immediately.


I never really saw the utility of the plugins. The functionality you described in your post, for example, is already implemented by C-6.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: