Thursday, January 14, 2016

Re: detach current tab into a separate window

On Thu, Jan 14, 2016 at 11:19 PM, Ben Fritz <fritzophrenic@gmail.com> wrote:
> 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?
>

I am aware of :vsplit, :split. They are not sufficient. They split the
file in the current window. I want these to be new windows on the
other monitor as the current window already spans one monitor and I do
not want to change that view.

thanks
raju
--
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog

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