One of the nice things about Vim Plug is that you can do lazy loading which can speed up loading of Vim.
Vim Plug
e.g.
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }
Which means that it won't load NerdTree until NerdTreeToggle is fired.
NerdTreeToggle
I like using a plugin manager like this where my plugins are defined in my .vimrc because I can bootstrap it from my dotfiles repo without having to add a load of submodules. Makes my repo simpler.
That's pretty interesting!
I didn't know that.
However, I haven't had any too-long-startup-time issues yet with VIM. But if I do encounter such, I will definitely give it a try! :)
Heh well I guess it depends on what "too long" means - for me that is greater than 200ms all up ;)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
One of the nice things about
Vim Plugis that you can do lazy loading which can speed up loading of Vim.e.g.
Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' }Which means that it won't load NerdTree until
NerdTreeToggleis fired.I like using a plugin manager like this where my plugins are defined in my .vimrc because I can bootstrap it from my dotfiles repo without having to add a load of submodules. Makes my repo simpler.
That's pretty interesting!
I didn't know that.
However, I haven't had any too-long-startup-time issues yet with VIM. But if I do encounter such, I will definitely give it a try! :)
Heh well I guess it depends on what "too long" means - for me that is greater than 200ms all up ;)