Live data from Hacker News

A Tmux Crash Course (2011)

robots.thoughtbot.com

51–60 of 85 posts

Re: A Tmux Crash Course (2011)

#51
post #28
post #7

If you're willing to spend $14 for a more detailed tutorial, I'd strongly recommend _ tmux: Productive Mouse-Free Development_ from The Pragmatic Bookshelf. It goes through common use cases, common customizations, and pair programming. http://pragprog.com/book/bhtmux/tmux

Do you show how to make it (or the terminal?) less ugly, without resorting to stuff like byobu?

i find it beautiful...

http://img571.imageshack.us/img571/6232/7vg1.png

Re: A Tmux Crash Course (2011)

#52
post #37
post #5

Earlier quoted context omitted.

If you have mouse integration off, selecting text in the terminal copies it to the system clipboard. As simple as click+drag to select.

How about copying text isolated in a pane to the system clipboard? For example if I have a split vertical pane, it will copy text from both panes.

Newer versions of tmux have an expand pane command mapped to Leader-z. It will grow the pane to full size, do your xopying then leader-z to toggle back to your normal split view.

Re: A Tmux Crash Course (2011)

#53
post #31
post #7

If you're willing to spend $14 for a more detailed tutorial, I'd strongly recommend _ tmux: Productive Mouse-Free Development_ from The Pragmatic Bookshelf. It goes through common use cases, common customizations, and pair programming. http://pragprog.com/book/bhtmux/tmux

I do not get the idea of buying a "book" to learn a *nix utility that explains itself in a single man page when all you need to learn is just a few keyboard shortcuts. Obsessively focusing on the tool does not magically improve productivity.

Agree with this entirely.

The annoying thing about all these eBooks is that the effort would be better spent improving the manual pages for the existing product rather than yanking a few dollars out of some people for some "special treatment".

Re: A Tmux Crash Course (2011)

#54

I highly recommend byobu. It acts as a front end to tmux (or screen) and provides some nice functionality like a status bar and various default keybindings that are consistent.

I use byobu pretty heavily and love it. Even if you don't venture too far into the scripts etc it's incredibly handy to fire up on a server and have multiple panes whilst working.

Re: A Tmux Crash Course (2011)

#55
post #36
post #31

Earlier quoted context omitted.

I do not get the idea of buying a "book" to learn a *nix utility that explains itself in a single man page when all you need to learn is just a few keyboard shortcuts. Obsessively focusing on the tool does not magically improve productivity.

A manpage doesn't help you arrive at a workflow or show the forest for the trees or give field advice from someone that uses the tool or reveal ways to integrate the tool with other programs.

Neither do most of these ebooks. They are usually poorly rehashed manpages stuffed full of errors.

At least the manpages are openly reviewed.

Re: A Tmux Crash Course (2011)

#56
post #36
post #31

Earlier quoted context omitted.

I do not get the idea of buying a "book" to learn a *nix utility that explains itself in a single man page when all you need to learn is just a few keyboard shortcuts. Obsessively focusing on the tool does not magically improve productivity.

A manpage doesn't help you arrive at a workflow or show the forest for the trees or give field advice from someone that uses the tool or reveal ways to integrate the tool with other programs.

No but 45 minutes using it will. Not saying this book is no good, but 90% of tech books on softer subjects like this aren't worth the paper they are printed on. They hark back to the day when I first walked into Sun and saw a dozen volumes xn versions for the xmotif and xlib reference manuals.

Re: A Tmux Crash Course (2011)

#57
post #40

I know everyone remaps their prefix to ctrl-a - how do you then jump to the start of a line? Edit: Thanks for the solutions. Will have a play. Like the sound of using ctrl-\

You map a to send the prefix: bind-key a send-prefix Now when you type ctrl-a gets sent.

Oh, amazing. Believe it or not that one silly thing has put me off investing in learning tmux.

Re: A Tmux Crash Course (2011)

#58
post #20

Earlier quoted context omitted.

Obviously... because it's double the price. Equivalent to saying: "Please give me more money... because that way i get more money"

Yes, heaven forbid someone be compensated for creating something of value

I wasn't objecting to giving him/her money. Just that there is a 100% price difference between amazon and prag prog (something that the author left out of their comment).

If he/she doesn't like amazon's price... then don't sell on amazon.

Re: A Tmux Crash Course (2011)

#59
post #25
post #20

Earlier quoted context omitted.

Obviously... because it's double the price. Equivalent to saying: "Please give me more money... because that way i get more money"

Sure but hey, if you buy the version from Amazon, you're only getting 1/3rd of the product, too. I can't guarantee you get updates I push to the book, and you also don't get the epub and PDF formats. But yes, I get more money because there's no Amazon middleman. Even if it was the same price on Amazon, I'd get less royalties. Just being honest.

I will always look for a book on amazon (as I know, from working for a publisher that amazon demand cheaper books). As a consumer why would I act any different?

If you push an update, I can buy that as well on amazon (and still only spend $14.40 total)...

EDIT:

1/3rd of the product? do you mean there is only 1/3rd of the book? or are you referring to the formats? That is an odd way to describe the product. I would say the product is your knowledge, not the paper/format it is produced in.

Re: A Tmux Crash Course (2011)

#60
post #25
post #20

Earlier quoted context omitted.

Obviously... because it's double the price. Equivalent to saying: "Please give me more money... because that way i get more money"

Sure but hey, if you buy the version from Amazon, you're only getting 1/3rd of the product, too. I can't guarantee you get updates I push to the book, and you also don't get the epub and PDF formats. But yes, I get more money because there's no Amazon middleman. Even if it was the same price on Amazon, I'd get less royalties. Just being honest.

you do however get WhisperSync when you chose the version from Amazon.

It would be so easy to implement that for arbitrary books, but even Amazon probably has to add a bit of vendor lock-in here and then.

Post reply on HN