Files
dotfiles/dot_tmux.conf

51 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 -v -p 75 -b -t '{top}' btm
split-window -v -t '{bottom}' -b ranger
split-window -h -b -t '{bottom}' vimpc
split-window -h -p 33 -t '{bottom}' -b "journalctl -xf"
select-pane -t '{bottom-right}'
# the other session I use
new-session -s work
split-window -v -p 95 -t '{top}' -b "cd ~/Code && ranger"
select-pane -t '{top}'
#Tuis to read shit
new-session -s tui "zulip-term -t gruvbox_dark"
split-window -h -p 34 "toot tui"
split-window -v -p 35 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