improve tmux copy paste

This commit is contained in:
Johannes Loher 2023-07-18 00:58:13 +02:00
parent 1f6b77b507
commit 4a306b5c90
Signed by: saluu
GPG key ID: 7CB0A9FB553DA045

View file

@ -17,13 +17,6 @@ set -g mouse on
# Lower escape timing from 500ms to 100ms for quicker response to scroll-buffer access.
set -s escape-time 100
# Copy to the primary clipboard
set -s copy-command 'wl-copy --primary'
# Middle click to paste from the clipboard
unbind-key MouseDown2Pane
bind-key -n MouseDown2Pane run "tmux set-buffer \"$(wl-paste --primary)\"; tmux paste-buffer"
# Splitting
bind-key h split-window -h
bind-key v split-window -v