diff --git a/vimrc b/vimrc index 5babb2c..638f243 100644 --- a/vimrc +++ b/vimrc @@ -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'