From 2807936959b4fe9dfab89cffb67bd14ccf5c4bb2 Mon Sep 17 00:00:00 2001 From: Nicole Tietz-Sokolskaya Date: Mon, 24 Oct 2022 12:03:13 -0400 Subject: [PATCH] Create workaround for bug where the bottom panel doesn't shrink after expanding (see https://github.com/preservim/nerdtree/issues/1321) --- nvim/.config/nvim/init.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 21063be..5278560 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -11,7 +11,11 @@ syntax on filetype plugin indent on " Nice navigaton shortcuts -map :NERDTreeToggle +" +" currently have to do :resize after NERDTree since it can leave content in +" the bottom panel; see https://github.com/preservim/nerdtree/issues/1321 for +" details. +map :NERDTreeToggle:resize map :Files map :Rg