Update tmux config with some spices
Signed-off-by: Andrei Jiroh Eugenio Halili <ajhalili2006@gmail.com>
This commit is contained in:
parent
e6c2e505e4
commit
5b92f7ad83
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue