News for hackers. Stuff that matters.
Re:Vim Recipes by planckscnst on Friday January 07, 2011 @09:46PM (#2082011)
Please tell me the difference. All I see is that it's more difficult to switch when using buffers instead of tabs (have to press :, have to add ! if it's not saved).
Re:Vim Recipes by burgerbrain on Friday January 07, 2011 @10:02PM (#2082046)
There are multiple plugins to cosmetically improve interaction with buffers, my favourite is minibufexplorer. Using tabs like you might in other editors is fine for a beginner, but once you begin to learn and use more advanced vim features you'll very quickly realize they don't scale.

Also, you should always make sure 'set hidden' is in your '~/.vimrc'. It's a crime that it's not default in my opinion. Takes care of the dumb "have to add ! if it's not saved)." thing.

Re:Vim Recipes by moe on Friday January 07, 2011 @10:28PM (#2082095)
Two words: FuzzyFinder.

Bind it to a key and switching between buffers (or on-disk files that are not even loaded) becomes as simple as typing a few letters of the filename.

No more scanning of abbreviated tab-labels, no more trial and error cycling through buffers. Highly recommended.