具体来说,我需要创建一个默认情况下会显示时钟的小配置文件,可以使用C-b t
触发。但是,我找不到这样做的方法。
在this GitHub issue comment中,项目的协作者表示可以将其定义为常规命令,但在我的ZSH设置中,它只是不起作用,说“zsh:Command not found:Cb”。< / p>
有没有人碰巧知道如何实现这个目标?
感谢!!!
答案 0 :(得分:2)
windows: - work: panes: - tmux clock-mode - ipython
下面是在tmux会话中输入tmux clock-mode
时发生的情况:
-t
参数,因此当前窗口中当前活动的窗格用于clock-mode
命令。在$man tmux
中查看会话以获取更多详细信息。
COMMANDS This section contains a list of the commands supported by tmux. Most commands accept the optional -t argument with one of target-client, target-session target-window, or target-pane. These specify the client, session, window or pane which a command should affect. target-client is the name of the pty(7) file to which the client is connected, for example either of /dev/ttyp1 or ttyp1 for the client attached to /dev/ttyp1. If no client is specified, the current client is chosen, if possible, or an error is reported. Clients may be listed with the list-clients command.