diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf new file mode 100644 index 0000000..488ff1f --- /dev/null +++ b/tmux/.tmux.conf @@ -0,0 +1,48 @@ +set -g default-terminal "screen-256color" +set -g set-titles-string '#T' +set-option -g set-titles on +setw -g monitor-activity on +setw -g aggressive-resize on +setw -g automatic-rename on +set -s escape-time 0 + +unbind C-b +set -g prefix C-a + +bind -n M-k run-shell 'tmux-vim-select-pane -U' +bind -n M-j run-shell 'tmux-vim-select-pane -D' +bind -n M-h run-shell 'tmux-vim-select-pane -L' +bind -n M-l run-shell 'tmux-vim-select-pane -R' +bind -n C-j new-window +bind -n C-h prev +bind -n C-l next +bind -n C-M-l swap-window -t +1 +bind -n C-M-h swap-window -t -1 +bind X kill-window + +set -g status-bg "colour237" +set -g message-command-fg "colour246" +set -g status-justify "left" +set -g status-left-length "100" +set -g status "on" +set -g pane-active-border-fg "colour246" +set -g message-bg "colour239" +set -g status-right-length "100" +set -g status-right-attr "none" +set -g message-fg "colour246" +set -g message-command-bg "colour239" +set -g status-attr "none" +set -g status-utf8 "on" +set -g pane-border-fg "colour239" +set -g status-left-attr "none" +setw -g window-status-fg "colour246" +setw -g window-status-attr "none" +setw -g window-status-activity-bg "colour237" +setw -g window-status-activity-attr "none" +setw -g window-status-activity-fg "colour246" +setw -g window-status-separator "" +setw -g window-status-bg "colour237" +set -g status-left "#[fg=colour235,bg=colour246] #S #[fg=colour246,bg=colour237,nobold,nounderscore,noitalics]" +set -g status-right "#[fg=colour239,bg=colour237,nobold,nounderscore,noitalics]#[fg=colour246,bg=colour239] %Y-%m-%d  %H:%M #[fg=colour246,bg=colour239,nobold,nounderscore,noitalics]#[fg=colour235,bg=colour246] #h " +setw -g window-status-format "#[fg=colour246,bg=colour237] #I #[fg=colour246,bg=colour237] #W " +setw -g window-status-current-format "#[fg=colour237,bg=colour239,nobold,nounderscore,noitalics]#[fg=colour246,bg=colour239] #I #[fg=colour246,bg=colour239] #W #[fg=colour239,bg=colour237,nobold,nounderscore,noitalics]"