Created
June 16, 2017 19:28
-
-
Save jcpowermac/9eac5ee4e5ea9fbd04cb2364debd69f8 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
| setw -g mode-keys vi | |
| # set Zsh as your default Tmux shell | |
| set-option -g default-shell /bin/zsh | |
| # UTF is great, let us use that | |
| #set -g utf8 | |
| #set-window-option -g utf8 on | |
| # Tmux should be pretty, we need 256 color for that | |
| set -g default-terminal "screen-256color" | |
| # Tmux uses a 'control key', let's set it to 'Ctrl-a' | |
| # Reason: 'Ctrl-a' is easier to reach than 'Ctrl-b' | |
| set -g prefix C-a | |
| unbind C-b | |
| # command delay? We don't want that, make it short | |
| set -sg escape-time 1 | |
| # Set the numbering of windows to go from 1 instead | |
| # of 0 - silly programmers :| | |
| set-option -g base-index 1 | |
| setw -g pane-base-index 1 | |
| # Allow us to reload our Tmux configuration while | |
| # using Tmux | |
| bind r source-file ~/.tmux.conf \; display "Reloaded!" | |
| # Getting interesting now, we use the vertical and horizontal | |
| # symbols to split the screen | |
| bind | split-window -h | |
| bind - split-window -v | |
| source "/usr/share/tmux/powerline.conf" | |
| set -g @plugin 'tmux-plugins/tpm' | |
| set -g @plugin 'tmux-plugins/tmux-yank' | |
| run '~/.tmux/plugins/tpm/tpm' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment