Live data from Hacker News

Tmux 2.0 released

sourceforge.net

101–110 of 221 posts

Re: Tmux 2.0 released

#101
Does anyone have Tmux 2.0 working alongside Tmuxinator? I know the project only claims support for 1.8, but I've been using it alongside 1.9 (mostly without issue) for many months.

Re: Tmux 2.0 released

#102
post #40

Earlier quoted context omitted.

Sometimes I have to get useful tools from them....like tmux. As to why I use Adblock, I've never. Not once. Ever. Bought anything from an ad on a website. I _have_ bought books and such from the referral links on blogs (which adblock doesn't block). The reason I use adblock is because I'm not the demographic ads on websites are targeting. So websites aren't losing any revenue by me not seeing their ads.

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"

"Your contract with the network is, you're going to watch the spots. Any time you skip a commercial or watch the button you're actually stealing the programming."

Re: Tmux 2.0 released

#103
post #58

I use tmux all the time, but I've read about dtach/dvtm. http://www.brain-dump.org/projects/dvtm/#why Anyone using that instead ?

I use dtach because detaching from the terminal is the only feature I would use in tmux.

That was one argument I saw on an article, dvtm carries a simpler self-sufficient task and is far smaller than tmux. Separation of concerns etc.

Re: Tmux 2.0 released

#104

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)

90% of HackerNews is self plug ... so don't worry :)

Re: Tmux 2.0 released

#105

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…

It's maintainable, modern code, which screen is not. Screen is not dead yet, but it eventually will be.

He didn't ask which one is nicer to hack on.

Re: Tmux 2.0 released

#106

The main thing that I wish I could have in tmux is the ability to disable other sessions attached to the current terminal without outright detaching them. I intend to go back to that other machine at some point, I just don't want its tiny screen making my current session tiny for no reason. Maybe this is actually possible already and I just haven't found it?

Would doing D (note the casing) help? It will list all the currently attached sessions and allow you to remotely disconnect them. I use it when I forget to detach at home and I'm at work or vice versa.

Re: Tmux 2.0 released

#107
post #12

I'm looking forward to the combination of Tmux and Neovim. Both (will) support detached/shared sessions, both are scriptable/configurable, both can be driven by a remote process. I believe with Tmux and Neovim you could put together anything from a simple test/editing environment to a full-blown IDE.

Unfortunately, Tmux still doesn't support true-color, which nvim added recently. I was hoping for it in the 2.0 release.

Re: Tmux 2.0 released

#108

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…

Yes! Probably my biggest workflow pipe dream since getting some fluency in vim is to be able to drop into an "outside mode". I've cobbled something vaguely modal together for bspwm with abuse of shkd, so a lot of the binds map similarly, but like your solution it's far from ideal.

As for "Why would you want this?" For me, the straightforward answer is "modes are modular". A core concept in vim is that your input can be thought of as a string describing the edit you wish to make, and modes help me keep that manageable in my head: I can first think about the mode I plan to enter, and then separately what I plan to do under the constraints of that mode. It's a little hard to explain, and I'm sure acolytes of other paradigms have their own philosophies, but it fits in really well to my workflow.

It's a subtle thing in the limited world of text editing, but I definitely miss the semantics whenever I leave it, whether to a terminal or a browser or whatever. So for me, it comes down to wanting to bring the cost of task switching closer to what it is in the editor.

Re: Tmux 2.0 released

#109

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…

> My absolute favorite has to be binding a hotkey to opening URLs in the current window.

I suppose this stops working if you SSH into some box and run tmux there? I've implemented something similar, but as an urxvt plugin instead, which avoids that limitation: http://www.cs.helsinki.fi/u/tmtynkky/urxvt.png (Once Alt-O is pressed, the hotkeys with the red background appear next to each link; pressing the hotkey opens the link in browser and copying to clipboard is also possible)

Re: Tmux 2.0 released

#110

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…

Not sure if it works in GNU Screen but tmux can be controlled from the command line. Examples:

    tmux show-buffer | vipe | bash -
    tmux send-keys -t debugger run
This allows nice ad hoc scripts that are composable in a very Unix-y way.
Post reply on HN