News for hackers. Stuff that matters.
Re:Tmux for Mere Mortals by kondu on Tuesday April 28, 2020 @06:52AM (#23005699)
I've always wanted something like that, can you please share your config?
Re:Tmux for Mere Mortals by jonfw on Tuesday April 28, 2020 @09:24AM (#23006695)
This is the section of my config that sets up using the clipboard for tmux buffers. It won't work as is unless you're using both fish shell and Mac, but this should at least give you some good keywords to google and find documentation on how to do it for your system

#makes clipboard work

set-option -g default-command "reattach-to-user-namespace -l fish"

bind-key -T copy-mode-vi 'v' send -X begin-selection

bind-key -T copy-mode-vi 'y' send -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"

Re:Tmux for Mere Mortals by Tsiklon on Tuesday April 28, 2020 @10:41AM (#23007431)
If you’re using Mojave or later you don’t need `reattach-to-user-namespace` anymore :)