Live data from Hacker News

tmux 1.8 Released

tmux.sourceforge.net

61–70 of 162 posts

Re: tmux 1.8 Released

#61
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…

Per your query: ctrl+a ctrl+a is how I switch between two windows (tmux calls them windows, they're basically tabs). If you want to switch between two panes (divisions inside a window, the equivalent of splitting the screen in a regular editor or visible buffers in vim/emacs), use ctrl-a o. I also have these bindings in my tmux conf for moving between panes painlessly: # use hjkl for moving bind h select-pane -L bind…

Nice one. I've now also added resize variations of these.

    bind-key C-j resize-pane -D 8
    bind-key C-k resize-pane -U 8
    bind-key C-h resize-pane -L 8
    bind-key C-l resize-pane -R 8

Re: tmux 1.8 Released

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

pushd /tmp && \ wget 'http://downloads.sourceforge.net/project/tmux/tmux/tmux-1.8/tmux-1.8.tar.gz?r=http%3A%2F%2Ftmux.sourceforge.net%2F&ts=1364579710&use_mirror=garr' && \ gunzip

thanks @pkrumins - the download/compile/install cycle took about 30 seconds - the compiled executable seems to work perfectly.

Re: tmux 1.8 Released

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

I think the idea is to be able to pound on whatever the defined escape key is to be able to toggle buffers, not that's he unable to find a command to switch to the next window.

Re: tmux 1.8 Released

#64
post #15
post #6

Should i finally switch from screens to tmux?

I switched from screen to tmux to screen back again. tmux seemed slower while switching windows, plus I like the simplicity of screen.

I was a heavy screen user for years, and 'simple' is not what I would use to describe screen.

Re: tmux 1.8 Released

#65

Earlier quoted context omitted.

Do you mean `tar -xzvf`?

Yes, formally. You don't have to specify -z in GNU tar today, you can just say -x and it'll add -z or -j for you -- it figures out on the fly if the archive's been compressed and how. Very convenient.

You can also leave off the dash: `tar xvf`

Re: tmux 1.8 Released

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

Teamocil author here, glad you like it! :)

Re: tmux 1.8 Released

#67
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…

I bind C-z as the escape character (in screen). It seems to serve me well :)

Re: tmux 1.8 Released

#68

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.

I also hated tmux mouse wheel scrolling.

But tmux 1.8 mouse wheel scrolling seems much improved over tmux 1.6 - to the point that it looks quite usable.

Re: tmux 1.8 Released

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

I only glanced it over, but I'm having a hard time seeing the advantage of this over shell scripts calling tmux commands.

Re: tmux 1.8 Released

#70

Incompatible Changes ==================== * layout redo/undo has been removed. Normal Changes ============== * Add halfpage up/down bindings to copy mode. * Session choosing fixed to work with unattached sessions. * New window options window-status-last-{attr,bg,fg} to denote the last window which was active. * Scrolling in copy-mode now scrolls the region without moving the mouse cursor. * run-shell learnt '-t' to s…

> * Resizing panes will now reflow the text inside them.

This is all I needed to know to upgrade.

Post reply on HN