博文背景 需要一个类似于vscode一样的东西然后终端在下面运行结果放终端里面 解决办法 autocmd FileType go nnoremap <buffer> \ <F5> :w<CR>:sp<CR>:wincmd w<CR>:resize 10<CR>:term go run %<CR>