tmux - 将所有键绑定输出到文件

tmux - output all keybindings to a file

我检查了 Write all tmux scrollback to a file 并想出了以下命令来查看回滚缓冲区是 vscode。

bind-key -T root C-E run-shell "tmux capture-pane -pS -50000 > /tmp/tmux-code.txt; code /tmp/tmux-code.txt"

现在我想在 vscode.

中查看 <prefix>?(列出所有键绑定)输出

我该怎么做?

OP 这里。

答案好像是tmux list-keys > keybindings.txt