Last active
February 27, 2017 01:27
-
-
Save tomsapps/25eae03961d502c53191664ffcbb5f43 to your computer and use it in GitHub Desktop.
tmux new -s whatever
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 prefix C-b | |
| # window numbering starts at 1 | |
| set -g base-index 1 | |
| setw -g pane-base-index 1 | |
| # use emacs | |
| set -gw mode-keys emacs | |
| set -g status-keys emacs | |
| # split windows | |
| bind | split-window -h | |
| bind - split-window -v | |
| set -g default-terminal "xterm-256color" | |
| # no time between C-b and commands | |
| set -s escape-time 0 | |
| bind-key b set-option status | |
| # resize panes w/ repeat every 1ms | |
| bind -r + resize-pane -D 1 | |
| bind -r _ resize-pane -U 1 | |
| bind -r L resize-pane -L 1 | |
| bind -r R resize-pane -R 1 | |
| # Reload tmux config | |
| bind r source-file ~/.tmux.conf | |
| # turn off mouse | |
| # setw -g mode-mouse off | |
| set-window-option -g status-left " #S " | |
| set-window-option -g status-left-fg black | |
| set-window-option -g status-left-bg white | |
| set -g status-right '' | |
| set-window-option -g status-right-fg black | |
| set-window-option -g status-right-bg white | |
| set-window-option -g window-status-format " #I " | |
| set-window-option -g window-status-current-format " #I " | |
| set-window-option -g window-status-current-fg green | |
| set-window-option -g window-status-current-bg black |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment