Live data from Hacker News

My tmux setup

unwiredcouch.com

21–30 of 101 posts

Re: My tmux setup

#21
post #5

Earlier quoted context omitted.

Indeed. I've been using Ctrl-\ as my Ctrl-a in screen (and occasionally tmux). Turns out that I never use that keystroke in real life.

I've been using `

For me ` is taken by tilda:

https://github.com/lanoxx/tilda

Re: My tmux setup

#22
post #8
post #2

>But the years of using screen have ingrained in my muscle memory to use ctrl-a I still don't understand how this happened to so many people. Ctrl+a is already taken, how did anyone ever use screen without immediately changing it to something that doesn't conflict with a frequently used shell shortcut?

The only thing ctrl-A is used for by me besides screen (or rather, tmux after I remapped it), is incrementing a number in vim. Not really a big deal.

With a vimscript [0], ctrl-a can increment dates, times, roman numerals, ordinals, etc. Pretty damn handy along with ctrl-x to decrement.

[0] https://github.com/tpope/vim-speeddating

Re: My tmux setup

#23
post #19

I can't recommend Pragmatic Bookshelf's book on tmux enough: http://pragprog.com/book/bhtmux/tmux It's got the whole thing covered end-to-end if you ever wanted to get around learning it.

Author of that book here. Thank you for the kind words.

Reader of that book, you finally got me to kick my screen habit with it and now I have a new tmux addiction.

That said, tmux is way easier to use compared to screen. And with 1.8 and text reflow it pretty much has every feature from screen I ever wanted/needed/used.

Re: My tmux setup

#25

One of things I've been meaning to ask: do people who use tmux mostly run a windows machine as their desktop?

No. It is very difficult to get tmux running on Windows. Not impossible, mind, but not as simple as e.g. 'brew install tmux'.

Re: My tmux setup

#26
post #22
post #8

Earlier quoted context omitted.

The only thing ctrl-A is used for by me besides screen (or rather, tmux after I remapped it), is incrementing a number in vim. Not really a big deal.

With a vimscript [0], ctrl-a can increment dates, times, roman numerals, ordinals, etc. Pretty damn handy along with ctrl-x to decrement. [0] https://github.com/tpope/vim-speeddating

I actually do use that, but ctrl-a/ctrl-x is still something I rarely find myself using more than a few times a week. Still a great plugin though.

Re: My tmux setup

#28
post #2

>But the years of using screen have ingrained in my muscle memory to use ctrl-a I still don't understand how this happened to so many people. Ctrl+a is already taken, how did anyone ever use screen without immediately changing it to something that doesn't conflict with a frequently used shell shortcut?

Because ctrl-a is extremely simple, physically ... for one hand, etc.

ctrl-b is fairly quick and easy if you use two hands (which is inferior to using one hand) and is quite a bit more difficult than ctrl-a when using one hand.

Re: My tmux setup

#30

One of things I've been meaning to ask: do people who use tmux mostly run a windows machine as their desktop?

I use a mac, and tmux essentially gives me a tiling window manager for most of my dev tasks (vim + terminals).
Post reply on HN