Tmux + Vim = Pure Awesome. I use vim-slime[1] to send strings to other panes in tmux. I never type anything directly into a REPL. I just send my code from Vim to it. It's amazing with lisp or python. (A little less amazing with php, as the php repl IS AWEFUL) [1] https://github.com/jpalardy/vim-slime
tmux 1.8 Released
31–40 of 162 posts
Re: tmux 1.8 Released
#32Earlier quoted context omitted.
A simple `tar -xvf` can replace the separate `gunzip` and `tar` processes.
Do you mean `tar -xzvf`?
Re: tmux 1.8 Released
#33I 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.
This appears to be a helpful article: http://tangledhelix.com/blog/2012/07/16/tmux-and-mouse-mode/
Re: tmux 1.8 Released
#34Re: tmux 1.8 Released
#35Is there any compelling reason to use tmux if you're already using a tiling window manager?
Re: tmux 1.8 Released
#36Is there any compelling reason to use tmux if you're already using a tiling window manager?
Re: tmux 1.8 Released
#37Anybody know if it's possible to move between terminal windows (panes in tmux lingo) "clockwise" and "anti-clockwise"?
but assuming you mean 'panes', it seems you can:
Ctrl-b o
to move around the current window's panes clockwise. Although I prefer inputing a given direction like the other replier suggested with arrow keys.
For me moving between windows and panes is something that I do a lot. So much so that I removed the need to use the 'tmux prefix' to do so. In my ~/.tmux.conf I have for window and pane switching:
# set pane switching with {U, E, N, I} for up, down, left, right and respectively without needing prefix
bind -n M-N select-pane -L
bind -n M-I select-pane -R
bind -n M-U select-pane -U
bind -n M-E select-pane -D
# set window switching without needing prefix
bind -n M-a select-window -t :1
bind -n M-r select-window -t :2
bind -n M-s select-window -t :3
bind -n M-t select-window -t :4
bind -n M-d select-window -t :5
bind -n M-h select-window -t :6
You can just replace the keybindings I chose like M-a (alt-a) to something that works for you. If you want to keep using a prefix (incase you are worried the keybindings will clash with other program/system bindings), remove the '-n' flag. Hope that helps.
If it doesn't here is a tutorial I found from a google search: http://blog.hawkhost.com/2010/06/28/tmux-the-terminal-multip...
and IMO a really good book on Tmux if you decide to dive in more: http://www.amazon.com/tmux-Productive-Mouse-Free-Development...
Re: tmux 1.8 Released
#38Should i finally switch from screens to tmux?
unbind C-b
set -g prefix C-aRe: tmux 1.8 Released
#39If 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.