Last active
December 4, 2019 12:05
-
-
Save ivyleavedtoadflax/30fdc8dbed445eab075877819df6663b to your computer and use it in GitHub Desktop.
tmux configuration
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
# Set prefix to capslock | |
set -g prefix C-b | |
# Set defaults | |
set -s escape-time 1 | |
set -g base-index 1 | |
setw -g pane-base-index 1 | |
# set key binds | |
bind r source-file ~/.tmux.conf | |
bind - split-window -v -c "#{pane_current_path}" | |
bind | split-window -h -c "#{pane_current_path}" | |
bind c new-window -c "#{pane_current_path}" | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
bind H resize-pane -L 5 | |
bind J resize-pane -D 5 | |
bind K resize-pane -U 5 | |
bind L resize-pane -R 5 | |
# Set 256 colors | |
set -g default-terminal "screen-256color" | |
# Disable mouse use | |
#setw -g mode-mouse off | |
#set -g mouse-select-pane off | |
#set -g mouse-resize-pane off | |
#set -g mouse-select-window off | |
set -g status-fg white | |
set -g status-bg black | |
set -g window-status-fg cyan | |
set -g window-status-bg default | |
set -g window-status-attr bright | |
set -g pane-border-fg green | |
set -g pane-border-bg black | |
set -g pane-active-border-fg white | |
set -g pane-active-border-bg yellow | |
set -g monitor-activity on | |
set -g visual-activity on | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment