Map F8 for python files.
This commit is contained in:
parent
f1a1761f59
commit
d6bb3b6172
3
vimrc
3
vimrc
@ -60,6 +60,9 @@ if argc() == 2
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
"Map <F8> on python files
|
"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 :map <F10> :Coveragepy show<cr>
|
||||||
au FileType python :imap <F10> <Esc><F10>
|
au FileType python :imap <F10> <Esc><F10>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user