Thursday, January 14, 2016

Re: detach current tab into a separate window

On Thursday, January 14, 2016 at 7:15:02 PM UTC-6, kamaraju kusumanchi wrote:
>
> When I code in large C++ projects, I have many tabs open in one gvim
> window. This window spans across one whole monitor. Now when writing
> new code to call a function, I want to split two tabs from this window
> and move them to the second monitor. These tabs typically contain the
> header file, another C++ file where a function was used before. This
> way I can look at the API, sample usage and add code in the current
> window.
>

Then perhaps, a simple :vsplit or :split command would serve your use-case? Or a :sb or :vert sb if the file is already open?

--
--
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: