improve tmux copy paste
This commit is contained in:
parent
1f6b77b507
commit
4a306b5c90
1 changed files with 0 additions and 7 deletions
|
@ -17,13 +17,6 @@ set -g mouse on
|
||||||
# Lower escape timing from 500ms to 100ms for quicker response to scroll-buffer access.
|
# Lower escape timing from 500ms to 100ms for quicker response to scroll-buffer access.
|
||||||
set -s escape-time 100
|
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
|
# Splitting
|
||||||
bind-key h split-window -h
|
bind-key h split-window -h
|
||||||
bind-key v split-window -v
|
bind-key v split-window -v
|
||||||
|
|
Loading…
Reference in a new issue