File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,10 @@ credit to https://gist.github.com/kevinelliott/e12aa642a8388baf2499
4
4
5
5
* fix copy/paste issue - https://github.com/tmux/tmux/issues/543
6
6
* upgrade tmux to 2.6 or greater
7
- * ` brew install reattach-to-user-namespace `
8
7
* tmux.conf
9
8
* ` setw -g mode-keys vi `
10
- * ` bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy" `
11
- * ` bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy" `
9
+ * ` bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel "pbcopy" `
10
+ * ` bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pbcopy" `
12
11
* vimrc (for neovim)
13
12
* ` set clipboard=unnamed `
14
13
# CLEANUP START
Original file line number Diff line number Diff line change @@ -34,5 +34,5 @@ set -g default-terminal "xterm-256color"
34
34
35
35
# fix for copy/paste issue in mac osx
36
36
setw -g mode-keys vi
37
- bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel " reattach-to-user-namespace pbcopy"
38
- bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel " reattach-to-user-namespace pbcopy"
37
+ bind-key -T copy-mode-vi y send-keys -X copy-pipe-and-cancel " pbcopy"
38
+ bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel " pbcopy"
You can’t perform that action at this time.
0 commit comments