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 t

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

Re: script to maximize/restore panes

2012-11-05 Thread Kazuhiko Sakaguchi
table. This code is a part of dummy pane. I need infinity loop, because dummy pane is killed only by restoration. 3. IFS== means IFS='='. 4. See the bottom of COMMANDS section on man tmux. 2012/11/5 John Schmitt : > On Sat, Nov 03, 2012 at 02:15:20PM +0900, Kazuhiko Sakaguchi wrote:

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

[PATCH] cmd-unbind-key: Implement a combination action of the -a flag and the -t argument

2012-04-12 Thread Kazuhiko Sakaguchi
Hi This patch implements a combination action of the -a flag and the -t argument of the unbind-key command. example: $ tmux unbind-key -a -t vi-edit (remove all key bindings from vi-edit key table) cmd-unbind-key.patch Description: Binary data ---

[PATCH] mismatch between the usage and the implementation in the save-buffer command

2012-03-21 Thread Kazuhiko Sakaguchi
Hi I found out the mismatch in the save-buffer command. The usage is following. $ tmux list-command | grep save-buffer save-buffer [-a] [-b buffer-index] But "tmux save-buffer" outputs the usage, and returns 1. $ tmux save-buffer usage: save-buffer [-a] [-b buffer-index] $ echo $? 1 It looks

Re: [PATCH] Add -n argument to show-environment to specify a variable name

2012-03-21 Thread Kazuhiko Sakaguchi
h doesn't apply, I guess your mailer is mangling it. Can > you try to send it as an attachment instead? > > > > On Sat, Mar 17, 2012 at 03:17:14AM +0900, Kazuhiko Sakaguchi wrote: >> Hi, >> >> Thanks for the feedback. >> I rewrote the patch.  I

[PATCH] Add -n argument to show-environment to specify a variable name

2012-03-12 Thread Kazuhiko Sakaguchi
Hi, This patch add a -n argument to show-environment. It specifies a variable name. example: $ tmux show-environment -g -n TERM rxvt-unicode-256color --- a/cmd-show-environment.c +++ b/cmd-show-environment.c @@ -31,8 +31,8 @@ int cmd_show_environment_exec(struct cmd *, struct cmd_ctx *); c