Created
May 17, 2026 19:06
-
-
Save Bujhm/86ad86a136a28008dd4d09826a062601 to your computer and use it in GitHub Desktop.
tmux config
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
| bind H select-layout even-horizontal | |
| bind V select-layout even-vertical | |
| bind | split-window -h | |
| bind - split-window -v | |
| bind r source-file ~/.tmux.conf \; display "Config reloaded!" | |
| bind T command-prompt -p "Pane Title:" "select-pane -T '%%'" | |
| bind b set-option -g pane-border-status | |
| set -g mouse on | |
| set -g history-file ~/.tmux_history | |
| set -g pane-border-status top | |
| #set -g pane-border-format " [ #P #T ] " | |
| # List of plugins | |
| set -g @plugin 'tmux-plugins/tpm' | |
| set -g @plugin 'tmux-plugins/tmux-sensible' | |
| set -g @plugin 'tmux-plugins/tmux-resurrect' | |
| set -g @plugin 'tmux-plugins/tmux-continuum' | |
| #set -g status-right '#(gitmux #{pane_current_path})' | |
| set -g status-right "#[bold]#(~/.tmux/git_status_tmux.sh #{pane_current_path}) #[fg=white] #T#[default] %H:%M:%S %d-%b-%y" | |
| #set -s status-interval 1 | |
| set -g pane-border-format "#[fg=white][#[fg=green]#P#[fg=white]] [#[fg=yellow,bold]#T#[default] #[fg=cyan]#[default](#{pane_current_command}) #[bold]#(~/.tmux/git_status_tmux.sh #{pane_current_path})#[fg=white]#[default]]" | |
| set -g @continuum-restore 'on' | |
| set -g @resurrect-processes ':all:' | |
| # Add this to ~/.tmux.conf | |
| set -g default-terminal "screen-256color" | |
| set -as terminal-overrides ',xterm*:sitm=\E[3m' | |
| # Other examples: | |
| #set -g @plugin 'github_username/plugin_name' | |
| #set -g @plugin 'github_username/plugin_name#branch' | |
| #set -g @plugin 'git@github.com:user/plugin' | |
| #set -g @plugin 'git@bitbucket.com:user/plugin' | |
| # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | |
| run '~/.tmux/plugins/tpm/tpm' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment