Created
February 11, 2018 15:07
-
-
Save sseidenthal/b31d53f63db8ce1ac90d4d026d8c71a8 to your computer and use it in GitHub Desktop.
this is the beginning of my custom tmux.com
This file contains 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
# Use Vim shortcuts | |
setw -g mode-keys vi | |
# Make `Ctrl+B R` reload the config file | |
unbind r | |
bind r source-file ~/.tmux.conf | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sidebar' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
set -g @plugin 'tmux-plugins/tmux-sessionist' | |
run '~/.tmux/plugins/tpm/tpm' | |
#change prefix from C-b to C-a | |
unbind C-b | |
set -g prefix C-a | |
bind C-a send-prefix | |
#reload tmux.conf message | |
bind r source-file ~/.tmux.conf \; display "Reloaded ~/.tmux.conf" | |
#-------------------------------------------------------# | |
#set -g status-bg blue | |
set -g status-bg white | |
#-------------------------------------------------------# | |
#PANE NAVIGATION/MANAGEMENT | |
#-------------------------------------------------------# | |
bind + split-window -h -c '#{pane_current_path}' | |
bind - split-window -v -c '#{pane_current_path}' | |
# Use Alt-arrow keys WITHOUT PREFIX KEY to switch panes | |
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 | |
#PANE COLOURS | |
#-------------------------------------------------------# | |
# set inactive/active window styles | |
set -g window-style 'fg=colour247,bg=colour236' | |
set -g window-active-style 'fg=colour250,bg=black' | |
#pane border | |
set -g pane-border-bg colour235 | |
set -g pane-border-fg colour238 | |
set -g pane-active-border-bg colour236 | |
set -g pane-active-border-fg colour51 | |
#TERMINAL ADMIN: | |
#-------------------------------------------------------# | |
set -g mouse on | |
#256 colours | |
set -g default-terminal "screen-256color" | |
# start with window 1 (instead of 0) | |
set -g base-index 1 | |
# start with pane 1 | |
set -g pane-base-index 1 | |
### End of tmux.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment