Monday, February 25, 2019

Re: possible RFE - open existing window w/file already being edited

On Mon, Feb 25, 2019 at 3:34 PM Efraim Yawitz <efraim.yawitz@gmail.com> wrote:
>
> Have you tried tabs instead of separate windows?
>
> Everyone has the way they like to work, so maybe this isn't appropriate for you, but right now I have 77 tabs open for maybe 15 projects, and I can find whatever I want with a simple :tabs command (and I'm sure there must be some plugin to make it even easier.)

There is also the "usetab" setting of the 'switchbuf' option: after
":set swb+=usetab", the command ":sbuffer /path/to/filename.ext" will
bring you to the window for filename.ext if there is one in any tab.
If there isn't, I'm not sure, maybe it will give an error, but even if
it does, you know that that file isn't yet loaded so you can open a
new window (and possibly a new tab) for it.

Best regards,
Tony.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: