Created
April 17, 2026 23:15
-
-
Save fffergal/a04dfbfd5d4e4d61ba677e96cffc77ed 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
| set -g mode-keys vi | |
| set -g status-keys vi | |
| set -g status-bg black | |
| set -g status-fg brightgreen | |
| set -g status-left "#{?mouse,⬁,#[fg=blue]⫯#[default]}#{?client_prefix,#[fg=blue]⌃#[default],⌄} " | |
| set -g status-right "" | |
| set -g window-status-style bg=black | |
| set -g window-status-current-style fg=green | |
| set -g window-status-last-style fg=brightblue | |
| set -g window-status-style fg=brightgreen | |
| set -g window-status-separator " " | |
| set -g set-titles off | |
| set -g mouse on | |
| # Don't capture the mouse for a couple of seconds so I can click URLs | |
| bind-key C-r run-shell -b '( tmux set -g mouse off ; sleep 2 ; tmux set -g mouse on ) >/dev/null' | |
| # Split window and keep current directory | |
| bind-key \\ split-window -c '#{pane_current_path}' | |
| # Let OSC52 clipboard sharing work through mosh too | |
| set-option -ag terminal-overrides ",xterm-256color:Ms=\\E]52;c;%p2%s\\7" | |
| set-option -ag terminal-overrides ",xterm-kitty:Ms=\\E]52;c;%p2%s\\7" | |
| set -g set-clipboard external | |
| set -g history-limit 2000000 | |
| # Move window left and right | |
| bind-key C-h swap-window -t -1\; select-window -t -1 | |
| bind-key C-l swap-window -t +1\; select-window -t +1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment