Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<blockquote> <p>I think I would do better with tabs I can easily toggle between, but maybe I need to use a different workflow.</p> </blockquote> <p>Are you aware of Vim's tabs? Not sure if you were referring to Vim's own tabs there, or pining for TextMate's. It's unclear what Vim version you're using but it's had tabs since at least 7.0 (which seems to be installed everywhere I look lately), and they're awesome.</p> <p><code>:tabe</code> opens a new one (short for "tab edit", so e.g. <code>:tabe</code> for empty or <code>:tabe path/to/file</code> for opening a file in a new tab,) you can move between adjacent tabs with <code>gt</code>/<code>gT</code>, and there's a bunch of other tab-related nav commands too, as you might expect from Vim (<code>:help tabs</code>)</p> <p>My workflow for large projects tends to involve a bunch of tabs, each with between 1 and 3 windows depending on what sort of context I need. This works even better if I have a doublewide terminal window since I can vertically split with <code>:vs</code>, so then a single tab can easily show me 4 files at once with plenty of room for each.</p> <p>Final tip: I sometimes use the "switch buffer" command (<code>:sb &lt;partial_buf_name&gt;</code>) which is sorta-kinda like TM's fuzzy finding, in that it works pretty well but only for already-open buffers. Still great for when I have a dozen or more files open at once. (N.B. I needed to <code>:set switchbuf=usetab</code> in my vimrc for this to work across tabs, but once that's set it's great.)</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload