Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ipython -e "open -a MacVim"
- In [4]: %run foo #This also "imports" foo anew
- hello world
- In [5]: edit foo
- Editing... done. Executing edited code... #This happens immediately
- hello world
- In [6]: %run foo
- hello SO World
- $ screen -S ipython
- $ ipython
- autocmd FileType python map F5 :w<CR>:!screen -x ipython -X stuff $'%run %:p:hn'<CR><CR>
- autocmd FileType python map <F5> :w<CR>:!screen -x ipython -X stuff $'%resetnyn%cd %:p:hn%run %:tn'<CR><CR>
- editor 0
- editor mvim --remote-tab-wait-silent
Add Comment
Please, Sign In to add comment