Live data from Hacker News

Tmux 2.0 released

sourceforge.net

171–180 of 221 posts

Re: Tmux 2.0 released

#171
post #164

I've only recently discovered tmux (feels ashamed). It's fantastic. The only thing I miss is just a sprinkle of mouse interaction. Moving around with the keys is easy enough of course but if you have a terminal in an otherwise desktop environment, it would be really nice to just be able to "click" in a pane to focus it.

Put "mouse-select-pane on" in .tmux.conf.

If you check the tmux manpage and search for 'mouse', there's a whole bunch of mouse-enabling options; you might as well turn them all on -- except for "mouse-utf8", which is a compatibility option that can potentially screw things up.

The downside to enabling mouse support in tmux is that it disables mouse support in the outer terminal (the one tmux is running inside). If you select text in tmux, it will go to the tmux clipboard instead of your system clipboard. You can get around that by holding shift before selecting text, but some people get annoyed by the extra action required.

Re: Tmux 2.0 released

#172
post #164

I've only recently discovered tmux (feels ashamed). It's fantastic. The only thing I miss is just a sprinkle of mouse interaction. Moving around with the keys is easy enough of course but if you have a terminal in an otherwise desktop environment, it would be really nice to just be able to "click" in a pane to focus it.

Try these options:

  set-option -g mode-mouse on
  set-option -g mouse-resize-pane on
  set-option -g mouse-select-pane on
  set-option -g mouse-select-window on

Re: Tmux 2.0 released

#173

Does anyone else wish tmux were modal like vim, ie. without a "leader" key? My conf file has a ton of custom key bindings for window / pane management, and I'd love for them to go away or become simplified by simply dropping into a "window management mode". Likewise, I'd like the command mode to stay open until I close it. I have some scripted hacks to do this, but it's nowhere near what I'd expect from true modality…

it would probably be a relatively easy change to make this happen with key tables (which are in git), you would only need to change it so there is a way to permanently enter a key table (at the moment the key table is only entered until a command is run from it)

Re: Tmux 2.0 released

#174
post #6

It makes me sad to see a respectable piece of open source software hosted on this site with its intrusive advertising practices such as ads with fake "install" buttons on the download page. What is the advantage of using Sourceforge these days when github and bitbucket are free for open source?

Does anyone who would be downloading tmux not use an ad blocker? Because if so, consider me shocked. I mean, not that the ads aren't still a moral concern, but from a practical standpoint it doesn't seem like a big deal. I didn't even realize Sourceforge still had ads...

Re: Tmux 2.0 released

#175
post #155

Earlier quoted context omitted.

I run `stty -ixon -ixoff` once and that fixes the issue for me.

That's a different flow control than what I'm talking about. tmux is just overwhelmed and cannot keep up with the output from tar whereas screen takes care of it and still responds to user input. Frankly I'm amazed there's only one or two posts about this on the internet as there's more than the pathological linux tarball extract where this problem will lock up tmux.

yes, this sucks but i have never myself been able to find a reliable case where screen reacts any better than tmux (for example, both behave similarly with yes(1))

the c0-* stuff is poor (i'm tempted to remove it) but it is not an easy problem to solve, people want tmux to be fast, except when they don't. it's also tricky remotely where ssh and the network stack are buffering too

Re: Tmux 2.0 released

#176

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…

Love your shell prompt. Mind posting your .zshrc/.bashrc?

Re: Tmux 2.0 released

#177

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…

Love your shell prompt. Mind posting your .zshrc/.bashrc?

Re: Tmux 2.0 released

#178
post #152

Anyone else slightly disappointed that connecting to a tmux session with mosh breaks mouse-mode? That fixed, plus session restore, would be the dream.

i suspect you need to talk to the mosh guys for this

Re: Tmux 2.0 released

#179

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…

Love your shell prompt. Mind posting your .zshrc/.bashrc?

Nevermind, looks like you are using powerline, found it, got it. :)

Re: Tmux 2.0 released

#180
post #79

Earlier quoted context omitted.

>Because it's how 99% of websites get their funding, allowing them to survive. So then, I'll unblock ads to help companies survive just as soon as those companies start giving me money to help me survive.

If you don't value what the website is giving you, why are you visiting it?

I value what these sites are giving me, but not enough to put up with ads. If adblock didn't exist I'd probably visit places like sf or youtube a lot less.
Post reply on HN