Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As far as buffer switching, I never keep hundreds of files open because when I switch git branches it's hard to remember which buffers need to be reverted. Instead I usually close everything, change branches, and then open up files as needed. I find I can open files more quickly using IDO-mode than I could by switching buffers (plus I often forget the filenames).


If you use magit to switch branches it will automatically revert the buffers that were changed.


That's nice. Although I really like using git-emacs. https://github.com/tsgates/git-emacs


Doesn't (global-auto-revert-mode 1) do the trick?




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

Search: