mirror of
https://github.com/GeorgeSG/dotfiles.git
synced 2026-09-04 08:28:44 +00:00
fix tmux paste
This commit is contained in:
+4
-4
@@ -23,6 +23,9 @@ set -g mouse-select-pane on
|
||||
set -g mouse-resize-pane on
|
||||
set -g mouse-select-window on
|
||||
|
||||
set -g status-utf8 on
|
||||
setw -g utf8 on
|
||||
|
||||
# -------------------
|
||||
# Visual Settings
|
||||
# -------------------
|
||||
@@ -105,7 +108,4 @@ bind -r L resize-pane -R 5
|
||||
bind Escape copy-mode
|
||||
bind p paste-buffer
|
||||
bind -t vi-copy 'v' begin-selection
|
||||
bind -t vi-copy 'y' copy-selection
|
||||
|
||||
bind C-c run "tmux save-buffer - | xclip -i -sel clipboard"
|
||||
bind C-v run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer"
|
||||
bind C-c run "tmux save-buffer - | xclip -i -sel clipboard > /dev/null"
|
||||
|
||||
Reference in New Issue
Block a user