News for hackers. Stuff that matters.
Re:Chocolat - the new editor by swah on Monday August 01, 2011 @11:15PM (#2835575)
Emacs user.
Re:Chocolat - the new editor by Ixiaus on Monday August 01, 2011 @11:18PM (#2835581)
Buffers are truly amazing - combined with powerful buffer naming patterns, it's a breeze switching between buffers blindly (included with autocomplete) and if you forget about which buffers are open it's a keystroke away to see an overview of the buffers open...

20-25 buffers open at once? Easy!

Re:Chocolat - the new editor by davidw on Tuesday August 02, 2011 @04:09AM (#2836308)
> 20-25

I get that many in a day of hacking. With emacs open for a couple of weeks, I can hit a hundred pretty easily.

Re:Chocolat - the new editor by swah on Monday August 01, 2011 @11:26PM (#2835603)
^ Ido mode user!
Re:Chocolat - the new editor by baddox on Tuesday August 02, 2011 @12:05AM (#2835730)
Ido with fuzzy searching is an absolute must. Type "mobusmai" to get to "mobile_user_mailer.rb" in an instant.
Re:Chocolat - the new editor by marcmarc on Tuesday August 02, 2011 @01:51PM (#2838018)
When you have 100 or more buffers open, you may have two files with the same name. Using uniquify (require 'uniquify) helps differentiate them. Instead of getting file<1> and file<2> you get file:"directory_1" and file:"directory_2".
Re:Chocolat - the new editor by Ixiaus on Tuesday August 02, 2011 @02:05PM (#2838096)
That's exactly what I use, Uniquify and Ido.
Re:Chocolat - the new editor by burgerbrain on Tuesday August 02, 2011 @12:22AM (#2835773)
Hmm.. I am a Vi user with the same attitude.
Re:Chocolat - the new editor by snprbob86 on Tuesday August 02, 2011 @05:43AM (#2836544)
Nope, I'm a Vim guy.
Re:Chocolat - the new editor by swah on Tuesday August 02, 2011 @08:27AM (#2836860)
Cool. How do you get to that state (of having lots of buffers open) without accidentally closing Vim? My Vim sessions don't last long because I always :q with a single window and its gone.
Re:Chocolat - the new editor by snprbob86 on Wednesday August 03, 2011 @03:28AM (#2840165)
I use :Ack pretty aggressively, so it is quite rare that I don't have a little search window open. If I close my last buffer, then the quickfix window takes up the whole screen and I quickly use :FuzzyFinderTextMate to open the next file.

So the only time I accidentally :q the last buffer is when I close all files, override my search results, don't run a new search, then close the only file. Needless to say, that is pretty rare.