Yes this is a nice idea and would be fairly easy to do as well. The only
question is whether the history is per window or global. I would make
undo/redo flags to select-layout.


On Fri, Mar 16, 2012 at 07:57:14AM +0100, Thorsten wrote:
> Ben Boeckel <maths...@gmail.com> writes:
> 
> 
> Hi List,
> 
> > On Thu, Mar 15, 2012 at 07:18:04 GMT, Nicholas Marriott wrote:
> >> tmux selectl
> >> 9d50,126x23,0,0[126x11,0,0{63x11,0,0[63x5,0,0,63x5,0,6],62x11,64,0},126x11,0,12{63x11,0,12,62x11,64,12}]'
> >>
> >> Or you can usually get whatever you want by selecting one of the
> >> predefined layouts with ctrl-space and swapping or moving stuff arounf.
> >
> > Hmm...would it be possible to save custom layouts given the above string
> > under a name? Probably using percentages instead of hard coded numbers.
> > This would also likely make the current built-in layouts much simpler.
> >
> > Also, is there documentation on how to create a string like above
> > without making one and then printing it out?
> 
> 
> if its possible to retreive such a string for the actual layout,
> wouldn't it be easy to implement something like winner-mode (winner.el)
> for emacs in tmux, i.e. a mode that stores these strings for the last 80
> layouts or so and has 2 commands - undo and redo. 
> 
> thereby one could freely 'destroy' a complicated custom layout for a
> different one - and then go back with one command. 
> 
> just an idea of a rather newbie user, who might even be unaware of
> similar functionality existing already in tmux.
> 
> -- 
> cheers,
> Thorsten
> 
> 
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here 
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to