Updated tmux config
This commit is contained in:
parent
70ffaa3b2e
commit
9d2bc8a5ed
@ -2,7 +2,6 @@
|
|||||||
new-session -s main
|
new-session -s main
|
||||||
# Start htop and split window
|
# Start htop and split window
|
||||||
set-hook -t main session-created 'send-keys -t main:0 "htop" C-m; 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'
|
# remap prefix from 'C-b' to 'C-a'
|
||||||
unbind C-b
|
unbind C-b
|
||||||
set-option -g prefix C-a
|
set-option -g prefix C-a
|
||||||
@ -27,7 +26,6 @@ bind -n M-Up select-pane -U
|
|||||||
bind -n M-Down select-pane -D
|
bind -n M-Down select-pane -D
|
||||||
|
|
||||||
# start windows and panes at 1, not 0,
|
# start windows and panes at 1, not 0,
|
||||||
|
|
||||||
set -g base-index 1
|
set -g base-index 1
|
||||||
set -g pane-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-interval 1
|
||||||
set -g status on
|
set -g status on
|
||||||
|
set -g aggressive-resize on
|
||||||
|
|
||||||
#+--------+
|
#+--------+
|
||||||
#+ Status +
|
#+ Status +
|
||||||
@ -87,6 +86,10 @@ set -g status-interval 2
|
|||||||
|
|
||||||
set -g default-terminal "screen-256color"
|
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 ---+
|
#+--- Bars ---+
|
||||||
set -g status-left "#[fg=black,bg=blue,bold] #S "
|
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 "
|
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 "
|
||||||
|
Loading…
Reference in New Issue
Block a user