BTW I've been asked why I don't use resize-pane -Z.
The "maximize any pane to a new window with <prefix>+" feature is different from stock resize-pane -Z as it allows you to further split a maximized pane. Also, you can maximize a pane to a new window, then change window, then go back and the pane is still in maximized state in its own window. You can then minimize a pane by using <prefix>+ either from the source window or the maximized window.
On the topic of tmux, has anyone created a nice way to save an active tmux configuration layout?
tmuxinator and the like let you specify the configurations ahead of time, but I want to save an active layout for later use. I haven't found a tool for that yet.
C-a conflicts with bash's move to start of line. Not everyone would care, but that's one of the few bash shortcuts I personally consider important.
I can't stand the default C-b either, it feels like an awkward reach to me and makes tmux seem to require way too much chording.
I've recently switched to using C-j, which duplicates the enter key. I also changed next and prev page from n / p to C-n / C-p. That way I can fly through my tabs with a single press & hold on the Ctrl key. So much nicer.
A lovely set-up. I may grab a few tidbits for my own. I'm also doing a powerline (airline) inspired bar, but I put mine at the top so I don't get it confused in vim. I really like the maximize/promote to window feature.
[+] [-] gpakosz|11 years ago|reply
The "maximize any pane to a new window with <prefix>+" feature is different from stock resize-pane -Z as it allows you to further split a maximized pane. Also, you can maximize a pane to a new window, then change window, then go back and the pane is still in maximized state in its own window. You can then minimize a pane by using <prefix>+ either from the source window or the maximized window.
See it in action: http://pempek.net/images/original/maximizing-tmux-pane-new-w...
[+] [-] deweller|11 years ago|reply
tmuxinator and the like let you specify the configurations ahead of time, but I want to save an active layout for later use. I haven't found a tool for that yet.
[+] [-] brunosutic|11 years ago|reply
https://github.com/tmux-plugins/tmux-resurrect
[+] [-] c0rner|11 years ago|reply
[+] [-] ilcavero|11 years ago|reply
byobu new-session -d; byobu split-window -d; byobu split-window -dh; byobu
Getting it to run a command automatically on each panel got too complicated so I settled on that. (byobu is a preconfigured tmux from ubuntu)
[+] [-] jamestomasino|11 years ago|reply
https://github.com/jamestomasino/bin/blob/master/tmux-sessio...
[+] [-] dahart|11 years ago|reply
I can't stand the default C-b either, it feels like an awkward reach to me and makes tmux seem to require way too much chording.
I've recently switched to using C-j, which duplicates the enter key. I also changed next and prev page from n / p to C-n / C-p. That way I can fly through my tabs with a single press & hold on the Ctrl key. So much nicer.
[+] [-] groby_b|11 years ago|reply
Might steal C-n and C-P, although C-[ C-] are tempting.
[+] [-] gpakosz|11 years ago|reply
[+] [-] macbony|11 years ago|reply
[+] [-] jamestomasino|11 years ago|reply
Here's my conf for reference: https://github.com/jamestomasino/dotfiles/blob/master/bash/....
[+] [-] azmenthe|11 years ago|reply
[+] [-] gpakosz|11 years ago|reply
$ cp ~/.tmux/.tmux.conf.local ~/
Then edit `.tmux.conf.local` and uncomment the #tmux_conf_theme=powerline_patched_font line.
For the powerline symbol to work, you need patched fonts: https://github.com/Lokaltog/powerline-fonts
[+] [-] fnbr|11 years ago|reply
[+] [-] gpakosz|11 years ago|reply
At the time I didn't know oh-my-zsh.
[+] [-] ilcavero|11 years ago|reply
[+] [-] aharris88|11 years ago|reply
[+] [-] gpakosz|11 years ago|reply
see https://github.com/gpakosz/.tmux/blob/d8b9498d6940b535d3181e...
[+] [-] brunosutic|11 years ago|reply