Skip to content

Commit 3effeb5

Browse files
committed
Merge pull request preservim#347 from kelaban/minor-fix-to-readme
Fixes README for opening vim with no files
2 parents d162c08 + 04ac39b commit 3effeb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ __Q. How can I open a NERDTree automatically when vim starts up if no files were
8383
A. Stick this in your vimrc
8484

8585
autocmd StdinReadPre * let s:std_in=1
86-
autocmd VimEnter * if !argc() == 0 && !exists("s:std_in") | NERDTree | endif
86+
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
8787

8888
__Q. How can I map a specific key or shortcut to open NERDTree?__
8989

0 commit comments

Comments
 (0)