Created
October 18, 2018 05:28
-
-
Save unisolate/e354df271401c62fe39d5bb4e6927669 to your computer and use it in GitHub Desktop.
tmux configure
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 default-terminal "screen-256color" # Use 256 colors | |
| # Start window indexing at one instead of zero | |
| set -g base-index 1 | |
| set-window-option -g pane-base-index 1 | |
| set-window-option -g mode-keys vi | |
| # Set the prefix key and some key bindings to match GNU Screen | |
| unbind C-b | |
| set -g prefix C-a | |
| bind a send-prefix | |
| # Key bindings for horizontal and vertical panes | |
| unbind % | |
| unbind '"' | |
| bind | split-window -h | |
| bind - split-window -v | |
| # Bind to reload config | |
| bind r source-file ~/.tmux.conf\; display "Config reloaded. Tmux is at your service." | |
| bind -n S-Left select-pane -L | |
| bind -n S-Right select-pane -R | |
| bind -n S-Up select-pane -U | |
| bind -n S-Down select-pane -D | |
| bind -n M-Left previous-window | |
| bind -n M-Right next-window | |
| set -g pane-border-style fg=white | |
| set -g pane-active-border-style bold,fg=colour117 | |
| set -g pane-border-status top | |
| set -g pane-border-format "#[fg=white] #{pane_index} #{pane_current_command} " | |
| set -g status-bg colour234 | |
| set -g status-fg colour137 | |
| set -g message-fg colour232 | |
| set -g message-bg colour166 | |
| set -g @plugin 'tmux-plugins/tpm' | |
| set -g @plugin 'tmux-plugins/tmux-sensible' | |
| source-file '/Users/uni/.tmux/tmuxline.conf' | |
| run '~/.tmux/plugins/tpm/tpm' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment