aboutsummaryrefslogtreecommitdiff
path: root/mac/tmux.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mac/tmux.conf')
-rw-r--r--mac/tmux.conf14
1 files changed, 13 insertions, 1 deletions
diff --git a/mac/tmux.conf b/mac/tmux.conf
index f0f272a..15ac4b7 100644
--- a/mac/tmux.conf
+++ b/mac/tmux.conf
@@ -42,6 +42,12 @@ bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
+bind P paste-buffer
+bind-key -Tcopy-mode-vi 'v' send -X begin-selection
+bind-key -Tcopy-mode-vi 'y' send -X copy-selection
+bind-key -Tcopy-mode-vi 'r' send -X rectangle-toggle
+bind-key -Tcopy-mode-vi 'y' send -X copy-pipe-and-cancel 'xclip -sel clip -i'`
+
bind-key S-Left swap-window -t -1
bind-key S-Right swap-window -t +1
@@ -51,4 +57,10 @@ set -g bell-action any
# Scroll in shell
set -g terminal-overrides 'xterm*:smcup@:rmcup@'
-set -wg xterm-keys 1
+#set -wg xterm-keys 1
+set -g mouse on
+#set-option -s set-clipboard off
+
+
+
+