Re: script to maximize/restore panes

2012-12-10 Thread Thomas Adam
Hi, On Sat, Nov 03, 2012 at 02:15:20PM +0900, Kazuhiko Sakaguchi wrote: > Hi all. > > I wrote a script to maximize and restore panes in tmux. It's similar > to the tmux-zoom. Has there been any more work on this lately? Kindly, -- Thomas Adam -

Re: script to maximize/restore panes

2012-11-14 Thread Thomas Adam
On Wed, Nov 14, 2012 at 11:53:54PM +0900, Kazuhiko Sakaguchi wrote: > Thanks! I fixed problems. > Please see https://github.com/pi8027/pane-maximize/blob/master/pane-maximize . It would be handier to see in-line diffs to be honest, rather than forcing me to load a web browser each time. Here it i

Re: script to maximize/restore panes

2012-11-14 Thread Kazuhiko Sakaguchi
2012/11/8 Thomas Adam : > Hi, > > On Tue, Nov 06, 2012 at 03:42:58PM +0900, Kazuhiko Sakaguchi wrote: >> I created and moved a pane-maximize repository on GitHub. >> https://github.com/pi8027/pane-maximize > > I took a look at this, since I'm quite keen to ensure that if this script or > one like i

Re: script to maximize/restore panes

2012-11-08 Thread Nicholas Marriott
On Thu, Nov 08, 2012 at 04:33:37AM +, Ben Boeckel wrote: > On Wed, Nov 07, 2012 at 15:13:21 GMT, Thomas Adam wrote: > >> $optflag_a && nwopts="-a -t $winid $nwopts" > > > > It is perhaps preferrable to not treat optflag_a as some literal boolean, > > but rather use something like: > > > > [ -n

Re: script to maximize/restore panes

2012-11-07 Thread Ben Boeckel
On Wed, Nov 07, 2012 at 15:13:21 GMT, Thomas Adam wrote: > Hi, > > On Tue, Nov 06, 2012 at 03:42:58PM +0900, Kazuhiko Sakaguchi wrote: >> I created and moved a pane-maximize repository on GitHub. >> https://github.com/pi8027/pane-maximize > > I took a look at this, since I'm quite keen to ensure th

Re: script to maximize/restore panes

2012-11-07 Thread Ben Boeckel
On Sat, Nov 03, 2012 at 05:15:20 GMT, Kazuhiko Sakaguchi wrote: > Hi all. > > I wrote a script to maximize and restore panes in tmux. It's similar > to the tmux-zoom. > > https://gist.github.com/3901976 > > Idea of tmux-zoom is awesome, but it has some problems. > - If title of the zoomed pane is

Re: script to maximize/restore panes

2012-11-07 Thread Thomas Adam
Hi, On Tue, Nov 06, 2012 at 03:42:58PM +0900, Kazuhiko Sakaguchi wrote: > I created and moved a pane-maximize repository on GitHub. > https://github.com/pi8027/pane-maximize I took a look at this, since I'm quite keen to ensure that if this script or one like it is to replace the current "tmux-zo

Re: script to maximize/restore panes

2012-11-05 Thread Kazuhiko Sakaguchi
2012/11/3 Kazuhiko Sakaguchi : > Hi all. > > I wrote a script to maximize and restore panes in tmux. It's similar > to the tmux-zoom. > > https://gist.github.com/3901976 > > Idea of tmux-zoom is awesome, but it has some problems. > - If title of the zoomed pane is changed, tmux-zoom can't restore

Re: script to maximize/restore panes

2012-11-05 Thread Javier TiĆ”
On Fri, Nov 2, 2012 at 11:15 PM, Kazuhiko Sakaguchi wrote: > Hi all. > > I wrote a script to maximize and restore panes in tmux. It's similar > to the tmux-zoom. > > https://gist.github.com/3901976 > Why not create a repository of it on GitHub? Thanks, -- Javier -

Re: script to maximize/restore panes

2012-11-05 Thread Kazuhiko Sakaguchi
Thanks to get interested in my work! 1. I improved the script and add a usage. Please see https://gist.github.com/3901976 . 2. In maximization, pane-maximize does: - make a new window that has a dummy pane. - swap a dummy pane for a target pane. - register a pair of panes on tmux's $pmtable. This

Re: script to maximize/restore panes

2012-11-04 Thread John Schmitt
On Sat, Nov 03, 2012 at 02:15:20PM +0900, Kazuhiko Sakaguchi wrote: > Hi all. > > I wrote a script to maximize and restore panes in tmux. It's similar > to the tmux-zoom. > > https://gist.github.com/3901976 > > Idea of tmux-zoom is awesome, but it has some problems. > - If title of the zoomed p

script to maximize/restore panes

2012-11-02 Thread Kazuhiko Sakaguchi
Hi all. I wrote a script to maximize and restore panes in tmux. It's similar to the tmux-zoom. https://gist.github.com/3901976 Idea of tmux-zoom is awesome, but it has some problems. - If title of the zoomed pane is changed, tmux-zoom can't restore the pane correctly. - tmux-zoom may kills a no