Last active
January 17, 2018 01:45
-
-
Save hugodias/200d03b8a4e3eb845db2bc03645dd5a9 to your computer and use it in GitHub Desktop.
My tmux config file
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-option -g xterm-keys on | |
| set -g default-terminal "xterm" | |
| # Set bar to the top | |
| set-option -g status-position top | |
| # Keep window name | |
| set-option -g allow-rename off | |
| # ---------------------- | |
| # Status Bar | |
| # ----------------------- | |
| set-option -g status on # turn the status bar on | |
| set -g status-interval 5 # set update frequencey (default 15 seconds) | |
| set -g status-justify centre # center window list for clarity | |
| # visual notification of activity in other windows | |
| setw -g monitor-activity on | |
| set -g visual-activity on | |
| bind \ split-window -h -c '#{pane_current_path}' | |
| bind - split-window -v -c '#{pane_current_path}' | |
| unbind C-b | |
| set -g prefix C-a | |
| bind C-a send-prefix | |
| bind j resize-pane -D 10 | |
| bind k resize-pane -U 10 | |
| bind l resize-pane -L 10 | |
| bind h resize-pane -R 10 | |
| bind '"' split-window -c "#{pane_current_path}" | |
| bind % split-window -h -c "#{pane_current_path}" | |
| bind c new-window -c "#{pane_current_path}" | |
| set -g default-terminal "screen-256color" | |
| set-window-option -g xterm-keys on | |
| set -g base-index 1 | |
| set -g pane-base-index 1 | |
| set -g default-shell $SHELL | |
| set -g default-command "reattach-to-user-namespace -l ${SHELL}" | |
| # Vim 0 ESC delay | |
| set -s escape-time 0 | |
| set -g @plugin 'tmux-plugins/tpm' | |
| set -g @plugin 'tmux-plugins/tmux-sensible' | |
| set -g @plugin 'tmux-cpu' | |
| set -g @plugin 'odedlaz/tmux-onedark-theme' | |
| set -g @onedark_widgets '#{cpu_percentage}' | |
| run '~/.tmux/plugins/tpm/tpm' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment