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.
tmux 1.8 Released
41–50 of 162 posts
Re: tmux 1.8 Released
#42First 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
#43Re: tmux 1.8 Released
#44What 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 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
#45I 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…
"Ctrl-b n" for next-window?
Re: tmux 1.8 Released
#46Re: tmux 1.8 Released
#47If 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
Re: tmux 1.8 Released
#48Is there any compelling reason to use tmux if you're already using a tiling window manager?
Re: tmux 1.8 Released
#49I 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.
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
#50I 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?
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.