Last active
September 26, 2023 18:49
-
-
Save prachauthit/595cd3596267b303cc77fe0409c33530 to your computer and use it in GitHub Desktop.
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
# create or add this to ur ~/.tmux.conf | |
#set prefix | |
set -g prefix C-a | |
bind C-a send-prefix | |
unbind C-b | |
set -g history-limit 100000 | |
set -g allow-rename off | |
bind-key j command-prompt -p "Join pan from:" "join-pane -s :'%%'" | |
bind-key s command-prompt -p "Send pane to:" "join-pane -t :'%%'" | |
set-window-option -g mode-keys vi | |
run-shell /opt/tmux-logging/logging.tmux |
@h4n0sh1 cheers mate, I've updated
Spelling mistake:
Change "Join pan from..." in line 11 to "Join pane from..."
:)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In tmux 3.1c+
Change these lines :
bind-key j command-prompt -p "Join pan from:" "join-pane -s '%%'"
bind-key s command-prompt -p "Send pane to:" "join-pane -t '%%'"
To this :
bind-key j command-prompt -p "Join pan from:" "join-pane -s :'%%'"
bind-key s command-prompt -p "Send pane to:" "join-pane -t :'%%'"
Reference : tmux/tmux#1256 (comment)