Add my tmux config btw

Signed-off-by: Andrei Jiroh Eugenio Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2022-01-18 23:20:29 +08:00
parent 77ae8c6d42
commit e6c2e505e4
Signed by: ajhalili2006
GPG Key ID: A30EBE40AD856D88
1 changed files with 29 additions and 0 deletions

29
tmux/main.conf Normal file
View File

@ -0,0 +1,29 @@
# Use Zsh as my default shell
set-option -g default-shell /bin/zsh
# my prefix btw
unbind C-b
set -g prefix M-w
# make sure we can magically source config changes via <prefix>+R shortcut.
bind r source-file ~/.tmux.conf
# use mouse on tmux, and a bit to tweaks, since I'm using an terminal emulator/gotty most of the time
set -g mouse on
#set -g mouse-select-pane on
# split to either horizontally or vertically
#unbind "
#unbind %
bind h splitw -h
bind v splitw -v
# adopt some bloody shortcuts from Terminator
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
# activity monitoring
setw -g monitor-activity on
set -g visual-activity on