Re:Tools I Use - tmux
by bricestacey on Sunday January 08, 2012 @02:13AM
(#3439084)
I am a tmux/vim user and I find this a constant problem. Split tmux panes don't allow your vim windows to communicate with each other (you could always fallback to using the system buffer, though that is often insufficient). Yet, split vim windows don't allow a shell in a single window.
Re:Tools I Use - tmux
by JoshTriplett on Sunday January 08, 2012 @07:08AM
(#3439401)
If you want a shell in a vim buffer, try ConqueTerm: https://code.google.com/p/conque/
Seems to work quite well, both for simple shell-like programs and full screen-oriented commands.
It does depend on a vim with Python support compiled in, but that doesn't seem like a huge constraint.
Theres actually a vim plugin I've been using that comes with Janus that loads up a shell in a vim buffer. It's been quite helpful, but I still find myself having separate macvim and terminal windows open, especially for rails dev. I normally have vim open for editing and a terminal window open with tabs for rails console, guard for rspec, server and general terminal open.
I use vim splits as well. I find my typical workflow is something like this:
1) Open a tmux split (vertical). 2) In the left tmux pane, open vim (and split horizontally). 3) On the right side, have my tests open and running via a watch command, eg: watch -n 10 "nosetests", or something similar.
Sorry if this seems like a difficult question, but even stories of how people manage this would be great :)