Last active
June 5, 2022 12:46
-
-
Save code-inflation/96dee4f31fb70b048fe700ac5d59340a 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
| # split panes using | and - | |
| bind | split-window -h | |
| bind - split-window -v | |
| unbind '"' | |
| unbind % | |
| # reload .tmux.conf | |
| bind r source-file ~/.tmux.conf | |
| # switch panes using Alt-arrow without prefix | |
| bind -n M-Left select-pane -L | |
| bind -n M-Right select-pane -R | |
| bind -n M-Up select-pane -U | |
| bind -n M-Down select-pane -D | |
| # Enable mouse mode | |
| set -g mouse on | |
| # Setup zsh | |
| set-option -g default-shell $SHELL | |
| # List of plugins | |
| set -g @plugin 'tmux-plugins/tpm' | |
| set -g @plugin 'tmux-plugins/tmux-sensible' | |
| set -g @plugin 'tmux-plugins/tmux-cpu' | |
| # Status right with cpu info | |
| set -g status-right '#{cpu_bg_color} CPU: #{cpu_percentage} | %a %d.%h %H:%M ' | |
| # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) | |
| run -b '~/.tmux/plugins/tpm/tpm' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment