diff options
author | Daniel Weipert <code@drogueronin.de> | 2022-02-16 15:24:10 +0100 |
---|---|---|
committer | Daniel Weipert <code@drogueronin.de> | 2023-10-30 09:52:23 +0100 |
commit | 547e9fe298bbdfe0517142c8d964ca98a10768da (patch) | |
tree | 93e9b741e9352f7e22fefb3d5d739b00093a8d99 /.config | |
parent | e335c049fb649620c11788dd014056df605207bf (diff) |
[nvim] fix NERDTree VimEnter cmd
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/init.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index c3307ea..d41d485 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -64,7 +64,7 @@ let g:NERDTreeGitStatusShowIgnored=1 if !&diff autocmd StdinReadPre * let s:std_in=1 - autocmd VimEnter * NERDTree | if argc() > 0 || exists('s:std_ine') | wincmd p | endif + autocmd VimEnter * NERDTree | if argc() > 0 || exists('s:std_in') | wincmd p | endif autocmd VimEnter * if argc() > 0 | silent NERDTreeFind | wincmd p | endif endif |