diff --git a/tmux.conf b/tmux.conf index 03c1b72..9b1d834 100644 --- a/tmux.conf +++ b/tmux.conf @@ -5,16 +5,20 @@ set -g base-index 1 set-window-option -g automatic-rename off set-window-option -g allow-rename off set-option -g set-titles on +set -g status-style 'fg=white, bg=colour8' +set -g window-status-current-style 'fg=black, bg=green' +set -g status-right '#[fg=black, bg=colour2] #(cut -d " " -f 1-3 /proc/loadavg) #[default] #[fg=white, bg=colour238] %H:%M #[default]' set-window-option -g mode-keys vi set -g status-keys vi set -g history-limit 10000 set -g escape-time 0 set -g repeat-time 1000 -setw -g mouse off +setw -g mouse on bind-key v split-window -h bind-key s split-window -v +bind-key p new-window \; set window-status-style fg=white,bg=red bind-key J resize-pane -D 5 bind-key K resize-pane -U 5 @@ -28,13 +32,13 @@ bind-key M-l resize-pane -R # Vim style pane selection bind h select-pane -L -bind j select-pane -D +bind j select-pane -D bind k select-pane -U bind l select-pane -R # Use Alt-vim keys without prefix key to switch panes bind -n M-h select-pane -L -bind -n M-j select-pane -D +bind -n M-j select-pane -D bind -n M-k select-pane -U bind -n M-l select-pane -R @@ -47,5 +51,7 @@ bind -n M-Down select-pane -D # Shift arrow to switch windows bind -n S-Left previous-window bind -n S-Right next-window +bind -n C-S-Left swap-window -t -1\; select-window -t -1 +bind -n C-S-Right swap-window -t +1\; select-window -t +1 bind r source-file ~/.tmux.conf \; display "Reloading config..." diff --git a/zshrc b/zshrc index 5ed1fc6..de96735 100644 --- a/zshrc +++ b/zshrc @@ -126,6 +126,9 @@ git config --global alias.st status git config --global alias.br branch # Other aliases +alias sysc="systemctl" +alias hib="sudo systemctl hibernate" +alias dcd="docker-compose -f docker-compose.yml -f docker-compose.development.yml" # recursive grep with line numbers and colour, ignoring binary files: alias gnr="grep -nR -I --color"