Saturday, November 8, 2014

Re: vim: Zoomwin plugin stop working after

I think I'll add <C-w><c-o> and make it same as <c-w>o, as suggested
by Eric -- it's less error prone to hold ctrl and just press w and o.
the other day I want to use ZoomWin but I by mistake pressed c-w c-o
instead of c-w o , and I lost all my windows layout...
thanks.

On Mon, Nov 3, 2014 at 3:49 PM, Charles Campbell
<Charles.E.Campbell@nasa.gov> wrote:
> Eric Christopherson wrote:
>>
>> On Sat, Nov 01, 2014, ping song wrote:
>>>
>>> it's very easy to reproduce. just <c-w><c-o> and then all windows
>>> won't came back anymore. I know this is expected. but what's the value
>>> to keep that if we have Zoomwin? the suggestion will be to provide an
>>> option to also map that to what <c-w>_o does...
>>
>> Are you saying that <C-w>o works but not <C-w><C-o>? That's easy to fix:
>> put this in your .vimrc:
>>
>> nmap <C-w><C-o> <C-w>o
>>
> ctrl-w ctrl-o is a vim command, the same as :only . ZoomWin isn't involved,
> and so cannot restore anything after a <c-w><c-o>.
>
> Regards,
> Chip Campbell
>
>
> --
> --
> 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.

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

Post a Comment