From aff7540779b67a9a70744cdaf8f83773be61c9b9 Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Wed, 15 Aug 2018 20:11:06 +0900 Subject: [PATCH] Add commented tmux pasteboard support https://stackoverflow.com/questions/44809432/tmux-copy-paste-in-macos https://leokun0210.hatenablog.com/entry/2017/12/16/121834 --- tmux.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tmux.conf b/tmux.conf index 145c8f7..5338897 100644 --- a/tmux.conf +++ b/tmux.conf @@ -48,3 +48,7 @@ set -g message-fg black setw -g window-status-current-bg white setw -g window-status-current-fg black #setw -g window-status-attr bold + + +#run-shell 'tmux bind-key -T copy-mode-vi "Enter" send-keys -X copy-pipe-and-cancel "pbcopy"' +#run-shell 'tmux bind-key bind-key "]" run "pbpaste | tmux load-buffer - && tmux paste-buffer"'