Updated tmux config
This commit is contained in:
		| @@ -2,7 +2,6 @@ | ||||
| new-session -s main | ||||
| # Start htop and split window | ||||
| set-hook -t main session-created 'send-keys -t main:0 "htop" C-m; split-window' | ||||
|  | ||||
| # remap prefix from 'C-b' to 'C-a' | ||||
| unbind C-b | ||||
| set-option -g prefix C-a | ||||
| @@ -27,7 +26,6 @@ bind -n M-Up select-pane -U | ||||
| bind -n M-Down select-pane -D | ||||
|  | ||||
| # start windows and panes at 1, not 0, | ||||
|  | ||||
| set -g base-index 1 | ||||
| set -g pane-base-index 1 | ||||
|  | ||||
| @@ -46,6 +44,7 @@ set -g @prefix_highlight_bg brightcyan | ||||
| #+---------+ | ||||
| set -g status-interval 1 | ||||
| set -g status on | ||||
| set -g aggressive-resize on | ||||
|  | ||||
| #+--------+ | ||||
| #+ Status + | ||||
| @@ -87,6 +86,10 @@ set -g status-interval 2 | ||||
|  | ||||
| set -g default-terminal "screen-256color" | ||||
|  | ||||
| # Add true color & italics support with alacritty terminal | ||||
| if-shell 'type "alacritty" >/dev/null' \ | ||||
|   'set -g default-terminal "alacritty"' | ||||
|  | ||||
| #+--- Bars ---+ | ||||
| set -g status-left "#[fg=black,bg=blue,bold] #S " | ||||
| set -g status-right "#{prefix_highlight}#[fg=white,bg=brightblack] %Y-%m-%d #[fg=white,bg=brightblack,nobold,noitalics,nounderscore]|#[fg=white,bg=brightblack] %H:%M#[fg=cyan,bg=brightblack,nobold,noitalics,nounderscore] #[fg=black,bg=cyan,bold] #h " | ||||
|   | ||||
		Reference in New Issue
	
	Block a user