]> git.rmz.io Git - dotfiles.git/commitdiff
vim: disable netrw
authorSamir Benmendil <me@rmz.io>
Wed, 1 Nov 2023 09:20:48 +0000 (09:20 +0000)
committerSamir Benmendil <me@rmz.io>
Sun, 17 Dec 2023 17:23:08 +0000 (17:23 +0000)
It currently breaks vim-fugitive, instead of opening Git status, a netrw
buffer opens.

vim/vimrc

index fcd2f581f0e94badb73b6f32df9aa5d8b02f0ea3..c1632f96aa12d596ab21bc06ec6f1117c63b0e22 100644 (file)
--- 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