From 2beb7f12678ef073ce87fbed008e8e76ec6fc28b Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Wed, 1 Nov 2023 09:20:48 +0000 Subject: [PATCH] vim: disable netrw It currently breaks vim-fugitive, instead of opening Git status, a netrw buffer opens. --- vim/vimrc | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.48.1