Map F8 for python files.

This commit is contained in:
Faerbit 2015-06-22 23:05:32 +02:00
parent f1a1761f59
commit d6bb3b6172

3
vimrc
View File

@ -60,6 +60,9 @@ if argc() == 2
endif
"Map <F8> on python files
au FileType python :map <F8> i <F8>
au FileType python :imap <F8> import pdb; pdb.set_trace()<ESC>
"Map <F10> on python files
au FileType python :map <F10> :Coveragepy show<cr>
au FileType python :imap <F10> <Esc><F10>