mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Change the output of Python from Buffered to Unbuffered so that we can see the command output immediately instead of waiting for the command to finish to see the output. See https://github.com/skywind3000/asyncrun.vim/wiki/FAQ#cant-see-the-realtime-output-when-running-a-python-script and https://stackoverflow.com/questions/107705/disable-output-buffering.
4 lines
84 B
VimL
4 lines
84 B
VimL
if exists(':AsyncRun')
|
|
nnoremap <silent> <F9> :AsyncRun python -u "%"<CR>
|
|
endif
|