diff --git a/.config/vim/vimrc b/.config/vim/vimrc index ca011d1..f9bffe4 100644 --- a/.config/vim/vimrc +++ b/.config/vim/vimrc @@ -88,7 +88,7 @@ let g:NERDSpaceDelims=1 let g:NERDTrimTrailingWhitespace=1 " NERD Tree -let g:NERDTreeIgnore = ['\.git'] +let g:NERDTreeIgnore = ['\.git', '\.bak'] let g:NERDTreeAutoDeleteBuffer=1 let g:NERDTreeDirArrowExpandable = ' ' " let g:NERDTreeDirArrowCollapsible = ' ' @@ -163,3 +163,10 @@ nmap 1 lightline#bufferline#go(1) " Toggle NERD Tree nnoremap :NERDTreeToggle + +"" Commands + +:command WQ wq +:command Wq wq +:command W w +:command Q q