From d4a8ceaaeb5b349734e45517aecf6a6fc1ce4327 Mon Sep 17 00:00:00 2001 From: Jono Targett Date: Fri, 4 Feb 2022 09:59:09 +1030 Subject: [PATCH] Made sure that the powerline is always displayed, even when NERDTree is closed. Also Fixed behaviour with :bd where NERDTree would flip out and close all of vim. Ctrl+C still works though --- .vimrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.vimrc b/.vimrc index 41b2a27..9846e3f 100644 --- a/.vimrc +++ b/.vimrc @@ -4,8 +4,13 @@ syntax on so ~/.vim/plugins.vim set splitbelow +" Make sure that powerline is always displayed +set laststatus=2 + " Always start with NERDTree open "autocmd vimenter * NERDTree +" Stop NERDTree causing a panic when you use :bd and exiting vim +nnoremap \d :bp:bd # " Show/hide NERDTree with Ctrl+T map :NERDTreeToggle