Nested Tmux command Screen vim + gnu screen…


Pyryatyn Nested Tmux command.

Zorgo Screen (vim + gnu screen/tmux) is a great tool for vim that split the pane and send vim buffer to
another pane. (Link: http://www.vim.org/scripts/script.php?script_id=2711)

However, when used the plugin in tmux session, the tmux sessions are nested then the command
is not working properly. Then setting a send prefix in .tmuxrc will solve the nested problem.

Command Sequence for Nested Tmux Sessions

Often I’ll run a multiplexer inside another multiplexer and need a command sequence to send things to the inner session. In Screen, this could be accomplished using C-a a . This doesn’t work out of the box in tmux, but can be fixed with a little configuration.

bind-key a send-prefix

From https://mutelight.org/practical-tmux


Leave a Reply

Your email address will not be published. Required fields are marked *