From 7e00594a9ce518d070fe13c11b052a61e2759415 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Sat, 16 Feb 2019 15:00:12 +0100 Subject: [PATCH] Add command typo aliases to vim --- .config/vim/vimrc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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