Live data from Hacker News

Tmux 2.0 released

sourceforge.net

191–200 of 221 posts

Re: Tmux 2.0 released

#191
post #114

I wish it was possible to have screen-like bindings that don't require explicitly defining them all so that you don't have to unpress Ctrl each time. In screen you can press C-a c quickly but for that to work in tmux you have to add this: bind-key C-c new-window

> In screen you can press C-a c quickly

Screen just binds C-a c and C-a C-c to the same command, for some values of c.

Re: Tmux 2.0 released

#192

Why should I use tmux over screen? Why do I use screen over tmux?: - its old. A stable version is on every distro. Trying to start a screen session is more likely to succeed on any given box than a tmux session. I see my friends wrestle with their tmux setup being more recent on one box than another and their nested sessions get screwed up. I never have any issue. - I know it, and for my simple use it does everything…

Try out Byobu. It's built on tmux, and it's nicer to use than screen, I find. Stupid name, but has some conveniences. Mostly I just use F2 to create a parallel terminal and F3/4 to cycle through them.

Re: Tmux 2.0 released

#193

For those who are just getting started with tmux: I advise looking around others' .tmux.conf files for some sensible settings. Like Vim, Tmux ships with a lot of powerful features disabled by default. My absolute favorite has to be binding a hotkey to opening URLs in the current window [0]. See [1] for a small demo I just recorded. To get started, here's my current config: [1] [0]: https://github.com/jbnicolai/tmux/b…

> Like Vim, Tmux ships with a lot of powerful features disabled by default. lol, my tmux keys are basically model after vim. This is the book I used to learn tmux and has vim key settings: https://pragprog.com/book/bhtmux/tmux

Thanks for reading.

Re: Tmux 2.0 released

#194
post #154

Earlier quoted context omitted.

> One tweak I can't live without is having the same key bindings to seamlessly switch between tmux panes and Vim split windows. YES, THIS! Setting up directional pane navigation to work with both tmux and vim panes as first-class entities was a huge workflow boon for me as well. It was a significant change that helped kick my setup over into vim+tmux+zsh as IDE vs. merely a collection of separate parts. It's worth no…

Honest question: Is there any benefit of using tmux over a proper tiling window manager? Or, why would I want to delegate some of the window manager tasks to a terminal emulator?

I use both a tiling window manager (xmonad) and tmux. The main reason I started using tmux was to do pair programming sharing the same terminal via ssh. If you pair program and have never tried this before, I highly recommend trying it. I live in Japan and even pair with people in London using tmux and vim. It's the next best thing to being there.

After I started getting used to using tmux, I found that my workflow naturally separated between things I'm doing on my terminal and things that require X (like my browser). These days I use a separate workspace for X apps and terminal (occasionally moving them around).

To make my life easy, I've added xmonad-like key bindings and window layout to tmux. Since other people are sharing:

https://github.com/ygt-mikekchar/dotfiles/blob/taka/home/.tm...

I often work while travelling and when I'm on the road I often don't bother cranking up X -- just work in the Linux console. Using tmux I barely notice a difference in my workflow and it helps extend the battery.

Re: Tmux 2.0 released

#198
post #151

Earlier quoted context omitted.

> It was "the way" to share your OSS project in its time Nobody questions that. But that doesn't quality for "the GitHub of that time", because most people like to use GitHub, so the analogy is incomplete in some essential aspects.

Eh, that's pretty nebulous. There's a whole lot not to like about GitHub, too. Vaguely hand wavy "oh that doesn't count cuz most people like GitHub" isn't really much proof of anything.

If you had the resources to host your own tracker/repository/wiki/mailinglist instead of using Sourceforge you did that. Github is so good it's actually hard to convince people it would be a good idea to have server for those things, even if money and time isn't the issue.

Re: Tmux 2.0 released

#199

Earlier quoted context omitted.

Why not use C-a?

I assume ctrl-s is easier to press than ctrl-a, I have trouble with ctrl-a on Mac with reconfigured CapsLock, and my bind key is ctrl-space.

That's why I remap the right alt key on mac (laptops) to ctrl. Having left right balanced ctrl keys is much more important for my workflow.

Re: Tmux 2.0 released

#200

Earlier quoted context omitted.

Aaaaaaaaaaaaand it's closed. Without comment.

Searching the tmux mailing list [0], it looks like there were some recent discussions about migrating to GitHub. Basically, it looks like the developers don't see any benefit to migrating that outweighs the cost of a migration. [1] There is a GitHub mirror [2] maintained by, I think, one of the developers, but they don't accept pull requests. It's interesting to note that, for such a popular project like tmux, there…

lots of people have contributed to tmux (on a quick grep through the logs, probably ~25 have made significant or multiple contributions, ~170 have made small contributions)
Post reply on HN