diff options
author | Julian T <julian@localhost.localdomain> | 2018-07-14 18:25:34 +0200 |
---|---|---|
committer | Julian T <julian@localhost.localdomain> | 2018-07-14 18:25:34 +0200 |
commit | e65754ce0c0d8696316b7a8ec0bb28b4ee902dd5 (patch) | |
tree | b0a81f1a5ed338d79b4660cb0f6e30f0e48b5227 /.tmux.conf | |
parent | e4bf7f0a72c827823527abd17666935429cd65cb (diff) |
Updated tmux config
Diffstat (limited to '.tmux.conf')
-rw-r--r-- | .tmux.conf | 33 |
1 files changed, 31 insertions, 2 deletions
@@ -19,6 +19,8 @@ set -g base-index 1 setw -g pane-base-index 1 # Bindings +# Stop the stupid delay +set -sg escape-time 0 # reload config file bind r source-file ~/.tmux.conf \; display "Config Reloaded!" @@ -39,9 +41,13 @@ bind -r L resize-pane -R 10 # enable mouse support for switching panes/windows setw -g mouse on +# vim +set-window-option -g mode-keys vi +bind-key -T copy-mode-vi 'v' send -X begin-selection +bind-key -T copy-mode-vi 'y' send -X copy-selection-and-cancel -# set vi mode for copy mode -setw -g mode-keys vi +# buffer +bind Space choose-buffer # split panes using | and - bind | split-window -h @@ -49,3 +55,26 @@ bind - split-window -v unbind '"' unbind % +# NIcer status bar + +set -g status-fg white +set -g status-bg default + +# Empty the bar +set -g status-left '' + +# Set Date time +set -g status-right '#[fg=colour233,bg=gray,bold] %d/%m #[fg=colour233,bg=white,bold] %H:%M:%S ' +set -g status-right-length 50 +set -g status-left-length 20 + +setw -g window-status-current-fg red +setw -g window-status-current-bg blue +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 colour9 +setw -g window-status-bg colour18 +setw -g window-status-attr none +setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F ' + |