Qfixhowmと、fugitiveだけはVim使いたい
- vimとVSCode行ったり来たりしたい
vim側
- vimscriptでvscodeを呼び出す
if has('win32')
nnoremap <silent> <leader>v :<c-u>call <SID>OpenVSCode()<CR>
function! s:OpenVSCode()
let l:targetfile = expand("%:p")
let l:cmd = '!code ' . l:targetfile
silent execute l:cmd
endfunction
endif
vscode側
settings.json
//vimで開く"alt-editor.binary":"gvim","alt-editor.args":"{filename}",