←back to thread

2039 points Gadiguibou | 4 comments | | HN request time: 0.23s | source
1. ksala_ ◴[] No.36492229[source]
Since you mention both pbcopy and iTerm - I love https://github.com/skaji/remote-pbcopy-iterm2. I do most of the work on a remove Linux server, treating my MacBook as mostly a dumb terminal, and being able to transparently copy from the remove to my local clipboard is so nice.
replies(2): >>36492827 #>>36493067 #
2. whartung ◴[] No.36492827[source]
I’ll have to try that. More than once I’ve been logged in to a remote host and got “pbcopy not found” “What!?… oh, right.“
3. tstack ◴[] No.36493067[source]
The tmux integration in iterm is also very nice for remote work if you haven’t tried it out.
replies(1): >>36494830 #
4. ksala_ ◴[] No.36494830[source]
I have tried it, but for whatever reason I just don't like it. I prefer just running tmux in iTerm with no integration.

On the topic, you can also integrate tmux with the native clipboard - I have set copy-pipe to the remote pbcopy, so any selection done in tmux get copied to my local clipboard. I also just found out that tmux also support it natively (https://github.com/tmux/tmux/wiki/Clipboard#the-set-clipboar...).