aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2019-02-26 10:21:20 +0000
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:28 +0100
commit93b573515bcb0f1cb6952083f7629b0252436b9d (patch)
treeb3ad8dee9b15330184067987a725d58404b3fead
parent7b108bd03a315e248e665a00deff84b8cf713278 (diff)
downloaddotnvim-93b573515bcb0f1cb6952083f7629b0252436b9d.tar.gz
dotnvim-93b573515bcb0f1cb6952083f7629b0252436b9d.zip
Close NERDTree after opening a file
-rw-r--r--vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 3e16011..46dedb9 100644
--- a/vimrc
+++ b/vimrc
@@ -86,6 +86,7 @@ set updatetime=200
" make easier to open NERDTree
map <C-n> :NERDTreeToggle<CR>
+let NERDTreeQuitOnOpen=1
" highlight end of line whitespace
highlight WhitespaceEOL ctermbg=red guibg=red