Live data from Hacker News

How to copy and paste with tmux on Mac OS X

robots.thoughtbot.com

1–10 of 14 posts

Re: How to copy and paste with tmux on Mac OS X

#2
This article is an intro to the screencast the author has created and is selling for $15 at https://workshops.thoughtbot.com/pages/tmux . It is linked to at the bottom of the page. I really enjoy learning about new pieces of software but in my personal opinion $15 for a 26 minute screencast is kind of pricey.

Re: How to copy and paste with tmux on Mac OS X

#3
If you are on Linux, add this to your ~/.tmux.conf file.

  ##CLIPBOARD selection integration
  ##Requires prefix key before the command key
  #Copy tmux paste buffer to CLIPBOARD
  bind C-c run "tmux show-buffer | xclip -i -selection clipboard"
  #Copy CLIPBOARD to tmux paste buffer and paste tmux paste buffer
  bind C-v run "tmux set-buffer -- \\"$(xclip -o -selection clipboard)\\"; tmux paste-buffer"

Re: How to copy and paste with tmux on Mac OS X

#4
post #2

This article is an intro to the screencast the author has created and is selling for $15 at https://workshops.thoughtbot.com/pages/tmux . It is linked to at the bottom of the page. I really enjoy learning about new pieces of software but in my personal opinion $15 for a 26 minute screencast is kind of pricey.

The screencast covers a lot of things, including workflow, key bindings, and tweaks to OS X to make you a faster developer. If you save ten minutes a day, you'll have made up the cost of the screencast in a day or two - which, in my opinion, is well worth it.

Re: How to copy and paste with tmux on Mac OS X

#5
could we please stop creating headlines that address everybody, when the content only addresses specific sub-groups? This headline should have ended with "on OS X". I seriously doubt i'm the only one who clicked through, only to discover it was completely irrelevant to me.

Re: How to copy and paste with tmux on Mac OS X

#6
post #5

could we please stop creating headlines that address everybody, when the content only addresses specific sub-groups? This headline should have ended with "on OS X". I seriously doubt i'm the only one who clicked through, only to discover it was completely irrelevant to me.

Ah, didn't think of that. Valid critique. Edited the headline.

Re: How to copy and paste with tmux on Mac OS X

#7
reattach-to-user-namespace also fixes the following when running launchctl from tmux:

  Bug: launchctl.c:2408 (24957):13: (dbfd = open(g_job_overrides_db_path, O_RDONLY | O_EXLOCK | O_CREAT, S_IRUSR | S_IWUSR)) != -1
  launch_msg(): Socket is not connected

Re: How to copy and paste with tmux on Mac OS X

#8
post #2

This article is an intro to the screencast the author has created and is selling for $15 at https://workshops.thoughtbot.com/pages/tmux . It is linked to at the bottom of the page. I really enjoy learning about new pieces of software but in my personal opinion $15 for a 26 minute screencast is kind of pricey.

The screencast covers a lot of things, including workflow, key bindings, and tweaks to OS X to make you a faster developer. If you save ten minutes a day, you'll have made up the cost of the screencast in a day or two - which, in my opinion, is well worth it.

Or you can buy the tmux book for $11 which tells pretty much the same: http://pragprog.com/book/bhtmux/tmux
Post reply on HN