Live data from Hacker News

Tmux 2.0 released

sourceforge.net

151–160 of 221 posts

Re: Tmux 2.0 released

#151
post #148
post #145

Earlier quoted context omitted.

> Don't forget, Sourceforge was the Github of yesteryear. Not really. At that time, there were almost no alternatives. Sourceforge was slow and bloated, even without ads. Nobody wanted to use it, but at least it was free (in the sense of free beer). And it took them ages to support SVN in addition to CVS. When they finally supported it, many project were already thinking about switching from SVN to a distributed VCS.

> Not really. How do you figure? It was "the way" to share your OSS project in its time. It wasn't great, but it was the best we had.

> 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.

Re: Tmux 2.0 released

#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.

Re: Tmux 2.0 released

#153

brew install tmux to install on osx. If you already had tmux brew unlink tmux; brew install tmux

Yes, without unlinking, some people are probably going to experience this effect:

>brew install tmux

Warning: tmux-1.9a already installed

Then again:

>brew unlink tmux

Unlinking /usr/local/Cellar/tmux/1.9a... 4 symlinks removed

>brew install tmux

Warning: tmux-1.9a already installed, it's just not linked

Re: Tmux 2.0 released

#154

Earlier quoted context omitted.

Here's mine: https://github.com/olalonde/dotfiles/blob/master/tmux.conf One tweak I can't live without is having the same key bindings to seamlessly switch between tmux panes and Vim split windows. ( https://gist.github.com/mislav/5189704 ) TPM is also really useful for managing tmux plugins https://github.com/tmux-plugins/tpm . My prefix key is Ctrl-Space. It's very convenient to press on the keyboard, I'm surprised…

> 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?

Re: Tmux 2.0 released

#155
post #112

Does tmux still have no flow control? Just compare how tmux locks up when you `tar xfv linux-4.0.tar.xz` and screen doesn't. None of the knobs to control output throttling helped. How do you get around this problem?

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.

Re: Tmux 2.0 released

#156
post #74

Earlier quoted context omitted.

Adverts are not just about getting a click to follow through to a purchase. What do you gain by blocking adverts? An extra 150K from your data plan? >websites aren't losing any revenue by me not seeing their ads. This argument is a little too close to justifying piracy for my liking. "I wasn't going to buy it anyway, so it's fine"

> This argument is a little too close to justifying piracy for my liking. "I wasn't going to buy it anyway, so it's fine" Do you also think not buying a Toyota is a little too close to car theft?

Consuming content or a product whilst deliberately evading the means put in place to compensate a creator for the work done is akin to piracy. I don't see how there's any question that that isn't at least a morally grey area

Re: Tmux 2.0 released

#157

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…

I wrote a book titled "Getting started with tmux" which can be a helpful guide for those who may want to get started. http://gettingstartedwithtmux.com (Sorry if the self plug is not cool, I'm happy to delete this comment if it's not ok but I figure the community may get use out of my work)

It was quite a good book! It might be due for an update, what with tmux plugins and other new tools. I'd buy an updated version.

Re: Tmux 2.0 released

#158
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?

Yes, there's lots of value to tmux outside of "window management", even if you only use it locally. That said, lots of the value is using it remotely.

Re: Tmux 2.0 released

#159
post #137
post #19

Earlier quoted context omitted.

You use ctl+s as your bind?

Using ` as my bind (no modifier) has been the best thing that's ever happened to my productivity in tmux.

I do the same, and also set up many ` commands to work the same way in emacs.

Re: Tmux 2.0 released

#160
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?

For me it's having two different terminals connected to same tmux session. I use tiling window manager and work on two monitors. Sometimes there is some stuff that I'm working on on my main monitor but I want to have quick look at the terminal. Because I have two terminals opened on both monitors I can just switch to the other one, press ctrl+f(my prefix)+number and have exactly same window as in my main terminal.

For anyone wondering you can achieve above by typing tmux new-session -t and giving it number/name of your current session.

Also there are minor things that are nice. Like if you need to open another terminal instance in the same directory as you're currently in.

Post reply on HN