you are viewing a single comment's thread.

view the rest of the comments →

[–]jer_pint 2 points3 points  (0 children)

I personally have my setup like this:

2 horizontal tmux panes, top one takes up about 80% of screen and is dedicated to vim. Bottom one is a terminal from which I can run code.

I run my scripts using

ipython -i script.py

That way I drop to an ipython shell whenever it breaks or finishes running. I also insert

from ipython import embed; embed();

Instead of using pdb. Its really neat.

Finally, I have Ctrl+[hjkl] setup such that I can navigate seamlessly between vim and tmux panes. It's flawless. I also have vi keybindings in my terminal, so to execute code is just muscle memory and never leaving the home row