vim 自动打开NERDTree定位到文件,并更新lightlines Posted on October 21, 2021 by Adin Vim autocmd VimEnter * NERDTree | wincmd p | call lightline#update() 123 autocmd VimEnter * NERDTree | wincmd p | call lightline#update() 将上述内容加到.vimrc中 Post Views: 2,858