Edit Re:
I found that the "autowrite" option may solve this problem in some aspects, but I will also autowrite when I print the next, previous, tag. I am looking for the best solution
You can use QuickFixCmdPre:
:au QuickFixCmdPre * write
make. . :he autocmd.
, , vim's
:make
, , . :!scons -C src, :se makeprg=scons\ -C\ src regular :make Quickfix.
.:
`autowrite`
:set autoread autowrite
.vimrc; , , , .
, (, Visual Studio Notepad ++, ).
- , , C-z, , ( , ), window ( ), .