Update tmux config with some spices

Signed-off-by: Andrei Jiroh Eugenio Halili <ajhalili2006@gmail.com>
This commit is contained in:
Andrei Jiroh Halili 2022-02-06 18:46:56 +08:00
parent e6c2e505e4
commit 5b92f7ad83
Signed by: ajhalili2006
GPG Key ID: A30EBE40AD856D88
1 changed files with 11 additions and 0 deletions

View File

@ -1,10 +1,16 @@
# Use Zsh as my default shell
set-option -g default-shell /bin/zsh
# eunsure we use emacs-style keybinds
set -gw mode-keys emacs
# my prefix btw
unbind C-b
set -g prefix M-w
# session selector
bind C-W choose-session
# make sure we can magically source config changes via <prefix>+R shortcut.
bind r source-file ~/.tmux.conf
@ -27,3 +33,8 @@ bind -n M-Down select-pane -D
# activity monitoring
setw -g monitor-activity on
set -g visual-activity on
# clipboard stuff to use xclip instead
set-option -g mouse on
set-option -s set-clipboard off
bind-key -T copy-mode MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "xclip -se c -i"