Source

vim-python-scripts / README.rst

Full commit

Add this to your ~/.vimrc:

nmap <F8>   :python RunUnitTestsUnderCursor()<CR>
nmap <C-F8> :silent! python RunInteractivePythonUnderCursor()<CR>
nmap <S-F8> :QFix<CR>