Skip to content

Instantly share code, notes, and snippets.

@AvasDream
Created November 6, 2022 12:54
Show Gist options
  • Save AvasDream/da5bef2e097684252c7274c3f545a1ef to your computer and use it in GitHub Desktop.
Save AvasDream/da5bef2e097684252c7274c3f545a1ef to your computer and use it in GitHub Desktop.
Setup tmux.
#!/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
@AvasDream
Copy link
Author

curl -s https://gist.github.com/AvasDream/da5bef2e097684252c7274c3f545a1ef/raw/408993336d4bcb2c9c5e075765de5f19b244f452/my-tmux-config.sh | bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment