Here's how I have things set up...
I'm a big fan of vim, and since I'm working on my macbook my choice of terminals is rather limited. Fortunately I can use the fantastic iTerm2.
Here's my setup for development:
Here's the same arrangement using the "dark" version.
I have split the iTerm2 window to give me a space in which to run the unit tests. Then vim running in the top window is also running in split-window mode to enable me to see the test and the code at the same time.
The key thing for me is that when I write a file in vim, the unit tests are re-run automatically. There are no extra buttons to press at all.
To achieve this I have installed a little python script called rerun; this helpfully monitors the filesystem and runs a command whenever any file changes. It ignores revision control files by default, and other files can be excluded.
iTerm2 can also be run in full screen mode, which hides the dock and the menu bar to maximize your screen real-estate.
No comments:
Post a Comment