4 ms·
Huh? I can edit multiple files in Windows Notepad by pressing Alt+Tab. There are some nice features in Emacs but any editor allows working on multiple files wit
by nradov 17y ago
Huh? I can edit multiple files in Windows Notepad by pressing Alt+Tab. There are some nice features in Emacs but any editor allows working on multiple files without a mouse.
- sjs 17y agoThat is technically true, but no one would actually be productive in that environment. Switching to the file you want is an O(n) operation with that workflow. That would drive anyone insane. In proper editors you can switch to the file you want by hitting a command and then typing a few chars of the file you want, then return.
- nradov 17y agoNonsense. I've done it both ways, and doing it the way you describe is actually slower.
- michaelcampbell 17y agoPerhaps that says more about the person than the method.
- yummyfajitas 17y agoIt's slower for small N. That's why emacs has Tabbar mode, which I have bound to \C-Tab. http://www.emacswiki.org/emacs/TabBarMode http://www.emacswiki.org/emacs/TabBarMode Tabbar works great for switching between the 3 haskell files I have open (note: tabbar only switches between files of the same type). Regular buffer switching (or even better, anything mode http://www.emacswiki.org/emacs/Anything http://www.emacswiki.org/emacs/Anything) works great for switching between the roughly 200 java files I have open right now.
- sjs 17y agoYou can bring up Emacs' buffer list sorted with the most recently used at the top (bs-show). This is equivalent to alt-tab in the worst case. Because I can search this list (it's a standard Emacs buffer), I can get to anywhere in the end or middle far faster. You cannot see filenames in alt-tab until you select the icon. Further, Emacs standard switch-to-buffer command selects the last visited file by default so you can flip between files with C-x b RET. Slightly longer than alt-tab, but not much once it becomes muscle memory.