This is the display when I typed :AsyncRun -mode=term -pos=bottom ~/.anaconda/bin/python %
.
But if I set:
filetype plugin on
map <F5> :call RunPython()<CR>
function! RunPython()
exec "w"
if &filetype == 'python'
if search("@profile")
exec "AsyncRun kernprof -l -v %"
exec "copen"
exec "wincmd p"
elseif search("set_trace()")
exec "!~/.anaconda/bin/python %"
else
exec "AsyncRun -mode=term -pos=bottom ~/.anaconda/bin/python %"
exec "copen"
exec "wincmd p"
endif
endif
endfunc
in my .vimrc
, it will display the quickfix window which I do not want.
How to disable the quickfix window?
copen
, which opens the quickfix window... also, the executes are not needed.