Files
dotfiles/dot_tmux.conf
LinlyBoi 7481f1f48c YES
2023-01-07 21:27:58 +02:00

53 lines
1.5 KiB
Plaintext

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 -h -p 90 -b -t '{top}' btm
split-window -v -t '{bottom}' -b ranger
split-window -h -b vimpc
split-window -h -p 20 -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 "zsh"
select-pane -t '{top}'
#Tuis to read shit
new-session -s tui
split-window -v -b -l 10 "toot tui"
split-window -h -b -t '{top}' -p 60 -l 136 newsboat
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