dotfiles/tmux/main.conf

30 lines
713 B
Plaintext

# 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