So I've recently got into using vim and quite like the split screen features. How would I mix something like this in for doing day to day running commands and editing stuff with a vim split screen workflow?
Sorry if this seems like a difficult question, but even stories of how people manage this would be great :)
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.
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.
Comments
So I've recently got into using vim and quite like the split screen features. How would I mix something like this in for doing day to day running commands and editing stuff with a vim split screen workflow?
Sorry if this seems like a difficult question, but even stories of how people manage this would be great :)
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.
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.