Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

9
  • Hi @nicholas-marriott, thanks for your response! So alacritty does support OSC 52, github.com/alacritty/alacritty/blob/master/CHANGELOG.md#fixed-2. I have done the following to make sure nothing but the internal tmux copy to system clipboard is being executed: - uninstalled reattach-to-user-namespace - disabled tmux-sensible plugin (which turns on reattach-to-user-namespace for macOS) - set -s set-clipboard on - disable alacritty's save to clipboard option: alacritty.yml: ``` selection: save_to_clipboard: false ``` The copy is working fine from tmux on select. Commented May 27, 2020 at 18:58
  • I am unable format the response correctly. I am testing the changes I made and will report back in a day or two. Commented May 27, 2020 at 19:02
  • I have also disabled tmux-yank plugin and just relying on set-clipboard. Things are working so far. Commented May 27, 2020 at 19:15
  • Okay so after much use, I have noticed that the issue is not with tmux being slow but my behavior on how I use the copy on selection. I am hardwired to how iterm2 does the copy, it copies as the selection happens. On tmux, the copy happens when the left mouse button is released with the binding, MouseDragEnd1Pane. I am so used to this behavior that I keep pasting the selecting ever before releasing the mouse and hence the old value of the clipboard keeps being pasted. Which mistakenly I thought was slowness in the tmux copy. Commented Jun 2, 2020 at 18:02
  • I have found some documentation on the wiki about MouseDragEnd1Pane github.com/tmux/tmux/wiki/…. And an issue that discusses this behavior, github.com/tmux/tmux/issues/1804. I was unsuccessful in getting MouseDrag1Pane to bind to copy, it breaks the selection of text when scrolled back in the buffer. But over all I have more insight into what is happening! Thank you @nicholas-marriott!! Commented Jun 2, 2020 at 18:06