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 %%)'
>
>
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
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
Hello.
Is there a way to set a name or predefined index for a new pane with
split-window command?
I want to achieve the following behavior:
1. by C-a m get a prompt for a manpage name, open man in a new pane, but do
not place cursor on that pane.
2. by C-a m get another prompt for a manpage and op