From d0f5528ec11c9957dd9b62688771eb62acb0c47f Mon Sep 17 00:00:00 2001 From: jakobst1n Date: Sun, 17 Jan 2021 15:55:40 +0100 Subject: Do things with zsh and tmux --- mac/tmux.conf | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'mac/tmux.conf') 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 + + + + -- cgit v1.2.3