IPython and Vim make for a great IDE. The following shortcuts can help to make it even better. To also avoid having to enter a test command in IPython, I use konsole and dcop to send the command to IPython automatically. In the following, ' is mapped to run the command 'r' in IPython. First, start IPython as follows: konsole --script ipython Next, add the following mapping to vimrc: nnoremap ' :wa:!dcop konsole-`pidof konsole` session-1 sendSession r screen -S blah ipython Now to send a command to the 'blah' screen: nnoremap ' :wa:!screen -x blah -X stuff $'r '
Attributes | Values |
---|---|
rdfs:label |
|
rdfs:comment |
|
Version |
|
dbkwik:vim/property/wikiPageUsesTemplate | |
Previous |
|
Category |
|
Author |
|
Subpage |
|
Complexity |
|
Created |
|
ID |
|
NEXT |
|
abstract |
|