aboutsummaryrefslogtreecommitdiff
path: root/mac/tmux.conf
diff options
context:
space:
mode:
authorjakobst1n <jakob.stendahl@outlook.com>2021-01-17 15:55:40 +0100
committerjakobst1n <jakob.stendahl@outlook.com>2021-01-17 15:57:20 +0100
commitd0f5528ec11c9957dd9b62688771eb62acb0c47f (patch)
treeb32a203aa1bdadcbbde4e158beaae764ebe72215 /mac/tmux.conf
parent5c196fb44cd3d569fe5aafc267c8fd5a2abffeb3 (diff)
downloaddotfiles-d0f5528ec11c9957dd9b62688771eb62acb0c47f.tar.gz
dotfiles-d0f5528ec11c9957dd9b62688771eb62acb0c47f.zip
Do things with zsh and tmux
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
+
+
+
+