From 8035032c937a8f8ca37b1813ac84d932f29168a8 Mon Sep 17 00:00:00 2001 From: LinlyBoi Date: Thu, 1 Dec 2022 07:37:12 +0200 Subject: [PATCH] tmuyx --- dot_tmux.conf | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 dot_tmux.conf diff --git a/dot_tmux.conf b/dot_tmux.conf new file mode 100644 index 0000000..bd70a42 --- /dev/null +++ b/dot_tmux.conf @@ -0,0 +1,46 @@ +unbind C-b +bind-key C-b last-window +bind-key b send-prefix + +set-window-option -g mode-keys vi +set-window-option -g alternate-screen on +#set-window-option -g utf8 on +set -sg escape-time 0 + +set -g default-terminal "screen-256color" + +#setw -g mode-mouse on + +set-option -g mouse on +#set -g mouse-select-window on +#set -g mouse-select-pane on +#set -g mouse-resize-pane on + +set-option -g history-limit 10000 + +set-option -g status-style bg=#150A1F +set-option -ag status-style fg=white +set -g status-left '#[fg=green]#H ' +#Switched this because I am not AMERICAN D:< +set -g status-right '#[fg=cyan,bright]%a %d/%m %R #[fg=white]| #[fg=yellow]#(uptime | sed -re "s/.*averages?: //") ' +#set-window-option -g window-status-current-bg blue +set-window-option -g aggressive-resize on +#monitor (modified from greyfade's tmux conf) +new-session -s monitor +split-window -v -b -l 10 "watch 'sensors k10temp-\* nvme-pci-\*'" +split-window -h -b -t '{top}' -p 60 -l 136 htop +split-window -v -t '{bottom}' -b ranger +split-window -h -b -p 20 vimpc +split-window -h -t '{bottom}' -b "journalctl -xf" +select-pane -t '{bottom-right}' + +# the other session I use +new-session -s work +split-window -v -p 90 -t '{top}' -b "cd ~/Code && ranger" +split-window -h -t '{bottom}' -b "vimpc" + +#switch panels +bind k selectp -U # switch to panel Up +bind j selectp -D # switch to panel Down +bind h selectp -L # switch to panel Left +bind l selectp -R # switch to panel Right