From: Samir Benmendil Date: Wed, 1 Nov 2023 09:20:48 +0000 (+0000) Subject: vim: disable netrw X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/a83671e3f434d9ddc226feb23ecc7332aade3223 vim: disable netrw It currently breaks vim-fugitive, instead of opening Git status, a netrw buffer opens. --- diff --git a/vim/vimrc b/vim/vimrc index fcd2f58..c1632f9 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -4,6 +4,11 @@ if has('python3') | endif " space is leader let g:mapleader = " " +" disable netrw +"FIXME: it currently breaks vim-fugitive 2023-04-11 +" instead of opening Git status, a netrw buffer opens instead +let g:loaded_netrwPlugin = 1 + " runtimepath {{{1 set runtimepath ^=$XDG_CONFIG_HOME/vim set runtimepath +=$XDG_CONFIG_HOME/vim/after