diff options
author | Guangxiong Lin <[email protected]> | 2021-12-10 15:29:37 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2021-12-10 15:29:37 +0800 |
commit | 82a18aa5e65a982bab806a823bc714f0d84b6418 (patch) | |
tree | 313ee52aff0eba2fa1b8bf3779da7c57cbf098fe | |
parent | 5b65b54f8e71171e97501d73554764e1b751fa06 (diff) | |
download | dotfiles-82a18aa5e65a982bab806a823bc714f0d84b6418.tar.gz dotfiles-82a18aa5e65a982bab806a823bc714f0d84b6418.tar.bz2 dotfiles-82a18aa5e65a982bab806a823bc714f0d84b6418.zip |
Update tmux prefix
-rw-r--r-- | .tmux.conf | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -1,8 +1,11 @@ # general -unbind ^b -set -g prefix 'C-\' -bind 'C-\' send-prefix -2 +unbind C-b +unbind C-q + +unbind C-s +set -g prefix 'C-s' +bind 'C-s' send-prefix -2 set -sg escape-time 0 set -g default-terminal "xterm-256color" @@ -35,8 +38,8 @@ bind L resize-pane -R 5 bind K resize-pane -U 5 bind J resize-pane -D 5 - # copy and paste like vim bind -T copy-mode-vi 'v' send -X begin-selection bind -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy" +if-shell 'test -f "$HOME/.local/.tmux.conf"' 'source ~/.local/.tmux.conf' |