Created
November 6, 2022 12:54
-
-
Save AvasDream/da5bef2e097684252c7274c3f545a1ef to your computer and use it in GitHub Desktop.
Setup tmux.
This file contains 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
#!/usr/bin/env bash | |
sudo apt install -y tmux | |
echo '#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:" "joian-pane -t '%%'" | |
set-window-option -g mode-keys vi | |
run-shell /opt/tmux-logging/logging.tmux' > ~/.tmux.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
curl -s https://gist.github.com/AvasDream/da5bef2e097684252c7274c3f545a1ef/raw/408993336d4bcb2c9c5e075765de5f19b244f452/my-tmux-config.sh | bash