Make gx work in WSL

This commit is contained in:
Kenneth Benzie 2022-11-06 11:21:09 +00:00
parent 4c142d2fa5
commit 1e81fe5f14

4
vimrc
View File

@ -102,6 +102,10 @@ Pack 'tpope/vim-fugitive'
Pack 'tpope/vim-eunuch'
" vim-vinegar - improved directory browser
Pack 'tpope/vim-vinegar'
if wsl#isDetected()
" Make gx work in WSL
let g:netrw_browsex_viewer='cmd.exe /C start'
endif
" vim-abolish - CamelCase to under_score to mixedCase
" TODO: Copy the good bit remove this plugin
Pack 'tpope/vim-abolish'