Live data from Hacker News

tmux 1.8 Released

tmux.sourceforge.net

41–50 of 162 posts

Re: tmux 1.8 Released

#41
post #34

If you like tmux, also check out teamocil ( https://github.com/remiprev/teamocil ) to really enhance your use. It enables you to define tmux sessions via YAML, which is great for programmatically setting up a complex dev session. Mine, for example, fires up six panes in my preferred layout, and starts up a particular part of our project in each pane.

Upvote for the best named project I've ever seen.

Re: tmux 1.8 Released

#42
I realise you can rebind them, but both screen and tmux do themselves a disservice by choosing binding keys which overlap with prominent keys in emacs and for users who use emacs mode in their shell.

First impressions count.

If you want to configure tmux to use just a backtick as the escape, create ~/.tmux.conf

    unbind C-b
    set -g prefix `
    bind-key ` send-prefix
When you need to type a backtick just press it twice.

For screen, I used to do this:

    escape ``
.. in ~/.screenrc, but I've just tried it and it seems that there's now no easy way to type a backtick when you need one.

Query: in screen I can switch between two buffers by doing ctrl+a, ctrl+a. This doesn't work in tmux. How do I configure this to work in tmux?

Re: tmux 1.8 Released

#44
post #5

What is the simplest way to install tmux 1.8 on Ubuntu 12.04?? Running `sudo apt-get install tmux` puts tmux 1.6 on my system...

Any PPAs?

I continue to be amazed by the people who install "random binaries" via PPA.

I guess I assume that if you want cutting-edge packages you'll use a cutting-edge release/distribution. If you don't, and you want something more recent then it seems to make sense to make your own packages, or install locally via gnu-stow, or similar.

Re: tmux 1.8 Released

#45
post #42

I realise you can rebind them, but both screen and tmux do themselves a disservice by choosing binding keys which overlap with prominent keys in emacs and for users who use emacs mode in their shell. First impressions count. If you want to configure tmux to use just a backtick as the escape, create ~/.tmux.conf unbind C-b set -g prefix ` bind-key ` send-prefix When you need to type a backtick just press it twice. For…

> Query: in screen I can switch between two buffers by doing ctrl+a, ctrl+a. This doesn't work in tmux. How do I configure this to work in tmux?

"Ctrl-b n" for next-window?

Re: tmux 1.8 Released

#47
post #34

If you like tmux, also check out teamocil ( https://github.com/remiprev/teamocil ) to really enhance your use. It enables you to define tmux sessions via YAML, which is great for programmatically setting up a complex dev session. Mine, for example, fires up six panes in my preferred layout, and starts up a particular part of our project in each pane.

Ah, that looks excellent for more complicated setups. I've been using the slightly simpler tmuxinator. https://github.com/aziz/tmuxinator

I used to use tmuxinator, but it's pretty much abandoned. There are pull requests that are over a year old. On the other hand, I submitted a pull request to teamocil and it was merged the same day.

Re: tmux 1.8 Released

#49

I want to like tmux, I really do, but my main gripes are scrolling in panes with the scroll wheel and selecting / copy/pasting text. iTerm (osx) or Terminator (linux) handle that much better, although I admit they can't really be compared technology-wise. Alternatively, I never figured out how to select / copy text just as fast in tmux / vim / etc as with the mouse.

Add these to your ~/.tmux.conf

    setw -g mode-mouse on
    setw -g mouse-select-window on
    setw -g mouse-select-pane on
    setw -g mouse-resize-pane on
Then you can scroll in panes, but also select like normal by holding alt/option.

Re: tmux 1.8 Released

#50
post #42

I realise you can rebind them, but both screen and tmux do themselves a disservice by choosing binding keys which overlap with prominent keys in emacs and for users who use emacs mode in their shell. First impressions count. If you want to configure tmux to use just a backtick as the escape, create ~/.tmux.conf unbind C-b set -g prefix ` bind-key ` send-prefix When you need to type a backtick just press it twice. For…

> Query: in screen I can switch between two buffers by doing ctrl+a, ctrl+a. This doesn't work in tmux. How do I configure this to work in tmux? "Ctrl-b n" for next-window?

That's not quite what I'm after. I guess it's hard for non-screen people to know what I'm talking about from my vague description above :)

Here's a scenario to show what I mean: you're in buffer 5. You switch to buffer 2. Now if you do ctrl+a, ctrl+a, you leap back to buffer 5. And if you do it again, you go back to buffer 2. This is great when you're editing code in one session and running it in the other.

Post reply on HN