Add basic tmux configuration

This commit is contained in:
Oliver Davies 2019-10-07 19:13:45 +01:00
parent 5ed3acfcc4
commit ce467f00c8

21
tmux.conf Normal file
View file

@ -0,0 +1,21 @@
unbind C-b
set -g prefix C-a
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"
set-option -g status-bg '#666666'
set-option -g status-fg '#aaaaaa'
set-option -g default-terminal "screen-256color"
# Map navigation key bindings.
bind-key -n C-h select-pane -L
bind-key -n C-j select-pane -D
bind-key -n C-k select-pane -U
bind-key -n C-l select-pane -R
bind-key - split-window -v -c '#{pane_current_path}'
bind-key \ split-window -v -c '#{pane_current_path}'
set-option -g status-right " #(battery -t) #(date '+%a, %b %d - %H:%M') "