2 ms·
Same, I use tabs both in i3 and vim, and I never use my mouse (I use keynav when I have to, for instance with firefox). I've seen some vim workflows using only
by hiq 9y ago
Same, I use tabs both in i3 and vim, and I never use my mouse (I use keynav when I have to, for instance with firefox).
I've seen some vim workflows using only buffers instead of tabs, but they required doing
:ls
:b buff_number
to switch to another file, which seems worse than looking at your tabs and repetitively do "gt" to access the corresponding tab.
I could use the ctrlp plugin or one of its alternative to fuzzy search on the file name instead of manually changing the buffer, but I still don't see a real benefit over using tabs. I guess it makes sense with really big projects where you have to open more than 10 files at a time.
- mewse 9y agoFor what it's worth, instead of tabs, I used to use file marks. That gives you up to 24 "tabs" that you can switch to using just two keypresses. `mA` to set the current buffer as tab 'A', and `'A` to go to A. That gets you heaps more speed than repeatedly `gt`ing your way through an array of open buffers. (I don't use file marks for this purpose any more. I got annoyed at how file marks saved and restored the cursor position within the buffer, so I wrote my own vim plugin to use a similar "map this buffer as A", "go back to buffer A" system, without saving/restoring the cursor position as well. I never really properly released it, but feel free to give it a try if you feel it would scratch an itch for you. It's over here: https://github.com/vectorstorm/vim-spacelanes https://github.com/vectorstorm/vim-spacelanes )