D
DENG
hi,
im a newbie to VIM(gVIM under WINXP), i want to execute python in vim
like press F5 in SciTE.
i try to search in google and config as follows in my _vimrc:
-----------------------------------------------------------
map <f5>:\python24\python.exe %
if has("autocmd")
autocmd FileType python setlocal et | setlocal sta | setlocal sw=4
autocmd FileType python compiler pyunit
autocmd FileType python setlocal makeprg=python\ ./alltests.py
autocmd BufNewFile,BufRead test*.py setlocal makeprg=python\ %
endif
----------------------------------------------------------
but neither F5 nor MAKE works.....
who can help me ?
thanks in advance
im a newbie to VIM(gVIM under WINXP), i want to execute python in vim
like press F5 in SciTE.
i try to search in google and config as follows in my _vimrc:
-----------------------------------------------------------
map <f5>:\python24\python.exe %
if has("autocmd")
autocmd FileType python setlocal et | setlocal sta | setlocal sw=4
autocmd FileType python compiler pyunit
autocmd FileType python setlocal makeprg=python\ ./alltests.py
autocmd BufNewFile,BufRead test*.py setlocal makeprg=python\ %
endif
----------------------------------------------------------
but neither F5 nor MAKE works.....
who can help me ?
thanks in advance