From 485fb374a3f4438618dc6e0494bf4cfe10e696a5 Mon Sep 17 00:00:00 2001 From: Greg Hellings Date: Mon, 10 Jun 2024 11:34:53 -0500 Subject: [PATCH] Remove nerdtree plugin for built in netrw --- home/vim.nix | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/home/vim.nix b/home/vim.nix index 89ab4cd..4524ede 100644 --- a/home/vim.nix +++ b/home/vim.nix @@ -33,12 +33,10 @@ in globals = { indent_guides_enable_on_vim_startup = 1; nix_recommended_style = 0; - NERDTreeIgnore = [ - "\\.pyc$" - "\\.pyo$" - "\\.o$" - "\\.class$" - ]; + netrw_liststyle = 3; + netrw_browse_split = 4; + netrw_altv = 1; + netrw_winsize = 25; }; opts = { background = "dark"; @@ -73,15 +71,15 @@ in in [ { mode = "n"; key = ""; - action = "BufExplorer"; + action = ":BufExplorer"; } { mode = "n"; key = ""; - action = "NERDTreeToggle"; + action = ":Lex"; } { mode = "n"; key = ""; - action = "GFiles?"; + action = ":GFiles?"; } (winMove "h") (winMove "j") @@ -102,7 +100,6 @@ in extraPlugins = with pkgs.vimPlugins; [ bufexplorer gruvbox - nerdtree nvim-cmp packer-nvim