Allow Ctrl-b to work in nested tmux#3
Open
ccaominh wants to merge 1 commit intoaleclearmind:masterfrom
Open
Conversation
When starting a nested tmux, do not revert the tmux prefix in the parent tmux to the default (C-b) as it intercepts Ctrl-b from the nested tmux. Instead, bind the tmux prefix to C-F12, which is unlikely to be used and parallels the M-F12 binding used for active handler. For example, to reproduce the problem: 1) Start tmux 2) Start vim in paraent tmux - Ctrl-f works to go forward a page - Ctrl-b works to go back a page 2) Create nested tmux (C-a C-s) 3) Start vim in nested tmux - Ctrl-f works to go forward a page - Ctrl-b does not work to go back a page
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When starting a nested tmux, do not revert the tmux prefix in the parent
tmux to the default (C-b) as it intercepts Ctrl-b from the nested tmux.
Instead, bind the tmux prefix to C-F12, which is unlikely to be used and
parallels the M-F12 binding used for active handler.
For example, to reproduce the problem: