Advice for using emacs python-mode

Kent Sandvik khs at trolltech.com
Wed Nov 20 18:25:48 EST 2002


Actually, in case anyone uses vim, here's a stupid small macro I wrote 
that opens up the output from the python session in another frame (to 
be placed in .vimrc).

map <C-k> :wa<CR>:!python % >& ~/.vimtmp <cr>:new<cr>:edit 
~/.vimtmp<cr><cr>
map <C-q> :close<cr>

Control-K runs the python app, Control -q closes the current active 
window. This is under MacOSX, hence the stderr redirection is csh 
style.  --Kent






More information about the Python-list mailing list