On Tue, Aug 9, 2011 at 11:23 AM, Richard Foley <richard.fo...@rfi.net> wrote:
> Vim has an even more (imho) cool function than that which would be even more
> (imho) cool to implement.  That is if, in Vim, you have a number of buffers
> open at the same time, (eg; your window is split into several panes,
> horizontally and vertically), you can make one buffer expand to the entire
> window area (the others are still there), and switch to and fro between this
> and the previous multi-pane view at will.  If you see what I mean.
>
> The window context switch command in Vim is:
>
>        <ctrl>-w-o
>
I think ctrl-w-o is what Thomas talked about in Vim, 'o' stands for
'only'. I don't think ctrl-w-o will bring back to the prev multi-win
layout in Vim, unless I miss some new feature/config in Vim.

> that's the letter "o".  I don't know if that conflicts with anything in tmux,
> one could use <ctrl>-b-o for instance.  That's fine details though, the
> principle is that it would be nice to be able to close, (but *not* kill), all
> the "other" tmux windows, for a while(!), work in a nice big single window,
> and then to bring them all back again with the same command.  Just an idea,
> while we're talking about Vim + tmux, again :-)
>
> Ciao
>
> Richard
> --
> Richard Foley
> Ciao - shorter than AufWiederSehen!
> http://www.rfi.net/books.html
>
>
>> Hi,
>>
>> I often find myself starting up a new session in tmux with the intent of it
>> being for a specific purpose, and naming it as such with "rename-session".
>> But in the course of me doing that, I often end up opening several windows,
>> all of which are a means to an end, and quickly need to go, as I then want
>> to clear all windows and concentrate on just one of them.
>>
>> Funnily enough, Vim has an ":only" command which will kill other windows
>> except one of them.  I'm considering whether this functionality is useful
>> in tmux.  So for example, we might have:
>>
>> kill-windows-except [-s target session] [-w target window]
>>
>> which would kill all windows in a session except the named window, or the
>> currently focused window, if no options were given.
>>
>> Is this functionality desired, I wonder?  I know I'd personally find it
>> useful, but that's no guarantee.  :)
>>
>> If so, I'll code it up, it's trivial, but I wanted to ask first.
>>
>> Kindly,
>>
>> -- Thomas Adam
>
> ------------------------------------------------------------------------------
> uberSVN's rich system and user administration capabilities and model
> configuration take the hassle out of deploying and managing Subversion and
> the tools developers use with it. Learn more about uberSVN and get a free
> download at:  http://p.sf.net/sfu/wandisco-dev2dev
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users
>

------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to