aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.tmux.conf11
1 files changed, 7 insertions, 4 deletions
diff --git a/.tmux.conf b/.tmux.conf
index 5cf68e6..b9e699a 100644
--- a/.tmux.conf
+++ b/.tmux.conf
@@ -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'