Merge pull request #347 from kelaban/minor-fix-to-readme
Fixes README for opening vim with no files
This commit is contained in:
commit
3effeb5cb7
@ -83,7 +83,7 @@ __Q. How can I open a NERDTree automatically when vim starts up if no files were
|
|||||||
A. Stick this in your vimrc
|
A. Stick this in your vimrc
|
||||||
|
|
||||||
autocmd StdinReadPre * let s:std_in=1
|
autocmd StdinReadPre * let s:std_in=1
|
||||||
autocmd VimEnter * if !argc() == 0 && !exists("s:std_in") | NERDTree | endif
|
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
|
||||||
|
|
||||||
__Q. How can I map a specific key or shortcut to open NERDTree?__
|
__Q. How can I map a specific key or shortcut to open NERDTree?__
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user