Re: pane name or predefined index

2012-12-05 Thread Nicholas Marriott
Use run-shell. On Wed, Dec 05, 2012 at 08:02:07PM +0300, Sergey Naumov wrote: >But how to execute these commands interactively using tmux command-prompt? >my script ~/tmux-man do everything right, but when I try to call it by > >tmux command-prompt -p 'Man:' '#(~/tmux-man %%)' > >

Re: pane name or predefined index

2012-12-05 Thread Sergey Naumov
But how to execute these commands interactively using tmux command-prompt? my script ~/tmux-man do everything right, but when I try to call it by tmux command-prompt -p 'Man:' '#(~/tmux-man %%)' only interactive prompt is shown, even if I replace %% by yes. Also I'm not sure that %% expands corr

Re: pane name or predefined index

2012-12-04 Thread Nicholas Marriott
No panes don't have names and the index is determined by their position. You can use the pane id (%whatever) to uniquely identify a pane no matter where it goes. Try for example: $ PANE=$(tmux splitw -dPF '#{pane_id}') $ tmux killp -t$PANE On Mon, Dec 03, 2012 at 11:36:57PM +0400, Sergey Naumov