tmuyx
This commit is contained in:
46
dot_tmux.conf
Normal file
46
dot_tmux.conf
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user