diff options
Diffstat (limited to 'tmux')
| -rw-r--r-- | tmux/.tmux.conf | 80 |
1 files changed, 77 insertions, 3 deletions
diff --git a/tmux/.tmux.conf b/tmux/.tmux.conf index 82c0eba..6722cf5 100644 --- a/tmux/.tmux.conf +++ b/tmux/.tmux.conf @@ -6,7 +6,7 @@ #set-hook -g window-linked 'set -g status on' bind-key 'b' set -g status on bind-key 'B' set -g status off -set -g status off +set -g status on # set window title set -g set-titles on @@ -14,7 +14,7 @@ set -g set-titles on set -g set-titles-string "#W" # hide status bar -set -g status off +# set -g status off # remap prefix to Control + a set -g prefix C-a @@ -31,6 +31,7 @@ set-window-option -g mode-keys vi # set -g default-terminal "tmux-256color" # this makes problems in mc #set -g default-terminal "xterm-256color" set -g default-terminal "screen-256color" +set -g base-index 1 # ADDED AT WORK # escape timeout set -s escape-time 0 @@ -38,4 +39,77 @@ set -s escape-time 0 # copy and paste bind-key -t vi-copy 'v' begin-selection bind-key -t vi-copy 'y' copy-pipe "xclip > /dev/null" -bind-key 'p' run "xclip -o | tmux load-buffer - ; tmux paste-buffer" +bind-key 'P' run "xclip -o | tmux load-buffer - ; tmux paste-buffer" + +# reload config file (change file location to your the tmux.conf you want to use) +bind r source-file ~/.tmux.conf + +# switch panes using Alt-arrow without prefix +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 + +# Enable mouse control (clickable windows, panes, resizable panes) +set -g mouse-select-window on +set -g mouse-select-pane on +set -g mouse-resize-pane on + +# don't rename windows automatically +set-option -g allow-rename off + +bind | split-window -h + + +###################### +### DESIGN CHANGES ### +###################### + +# loud or quiet? +set-option -g visual-activity off +set-option -g visual-bell off +set-option -g visual-silence off +set-window-option -g monitor-activity off +set-option -g bell-action none + +# modes +setw -g clock-mode-colour colour3 +setw -g mode-attr bold +setw -g mode-fg colour7 +setw -g mode-bg colour4 + +# panes +set -g pane-border-bg colour0 +set -g pane-border-fg colour10 +set -g pane-active-border-bg colour0 +set -g pane-active-border-fg colour4 + +# statusbar +set -g status-position bottom +set -g status-justify left +set -g status-bg colour10 +set -g status-fg colour0 +set -g status-attr dim +set -g status-left '' +set -g status-right '' +set -g status-right-length 50 +set -g status-left-length 20 + +setw -g window-status-current-fg colour10 +setw -g window-status-current-bg colour4 +setw -g window-status-current-attr bold +setw -g window-status-current-format ' #I#[fg=colour249]:#[fg=colour255]#W#[fg=colour249]#F ' + +setw -g window-status-fg colour0 +setw -g window-status-bg colour10 +setw -g window-status-attr none +setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F ' + +setw -g window-status-bell-attr bold +setw -g window-status-bell-fg colour2 +setw -g window-status-bell-bg colour1 + +# messages +set -g message-attr bold +set -g message-fg colour4 +set -g message-bg colour0 |
