5 ms·
"Who doesn't like tabs?" In text editors? Me. I don't like thinking about which individual files are open. Any file under the root of my project (i.e. the edi
by snprbob86 15y ago
"Who doesn't like tabs?"
In text editors? Me.
I don't like thinking about which individual files are open. Any file under the root of my project (i.e. the editor's current working directory) is fair game for an open buffer. I treat open file as "go to class".
- kenneth_reitz 15y agoYou should try Sublime Text 2 w/ the tabs and sidebar hidden. It's a dream :)
- wahnfrieden 15y agoI like vim's tabs as a way of grouping kinds of buffers into a few categories, eg each tab might gave several split buffers representing a Django app per tab. This isn't how tabs work in most editors though.
- olsonjeffery 15y agoIs there a way to expose only certain buffers in certain tabs? My experience has been that all tabs show all loaded buffers... For this reason, I've pretty much forgone tabs in favor of minibufexpl.vim (https://github.com/fholgado/minibufexpl.vim https://github.com/fholgado/minibufexpl.vim), which gives me a pretty robust buffer-display window on the top of the editor and easy navigation keybindings ([shift+]ctrl+tab).
- oinksoft 15y agoNot that I know of. I mostly use tabs when I run out of room with all the splits I have.
- wahnfrieden 15y agoNope, but I have enough space to use several splits within a tab (which is also why I stick to 80 columns for most of my code) so it's not a huge issue. You should take a look at FuzzyFinder as an alternative to minibufexpl: http://www.vim.org/scripts/script.php?script_id=1984 http://www.vim.org/scripts/script.php?script_id=1984 I mapped <leader>b to fuzzy search my open buffers. Much quicker and less cognitive overhead for me than managing a list of buffers manually and scanning it visually for what I need.
- snprbob86 15y agoHmmm, very cool. I generally open multiple instances of MacVim for multiple projects. Apparently tabs can have a working directory each. Really interesting... going to have to experiment with this.
- swah 15y agoEmacs user.
- Ixiaus 15y agoBuffers 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!
- swah 15y ago^ Ido mode user!
- baddox 15y agoIdo with fuzzy searching is an absolute must. Type "mobusmai" to get to "mobile_user_mailer.rb" in an instant.
- davidw 15y ago> 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.
- marcmarc 15y agoWhen 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".
- Ixiaus 15y agoThat's exactly what I use, Uniquify and Ido.
- burgerbrain 15y agoHmm.. I am a Vi user with the same attitude.
- alextgordon 15y ago[developer here] Honestly, that line betrays my own apathy towards the feature. I hardly ever use them. They probably should be dead. However! There is currently a plan (with associated scary-looking diagrams) to change how tabs behave[1]. Essentially, you'd be able to use a tab for each logical grouping of open files. For example, in a django project, you might create a tab for each separate app you're working on. Or maybe a tab for your views, and another for your templates. I understand that, even with that change, tabs won't fit many people's workflow. So they will always remain out of the way, unless you actually create more than one. [1]: https://github.com/fileability/chocolat-public/issues/159 https://github.com/fileability/chocolat-public/issues/159
- deleted 15y ago[deleted]