Skip to content

serhez/nvim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Neovim config

This is my current nvim configuration. This is not a generic or customization oriented config: my current focus is on machine learning research on Python, using tools like conda environments and notebooks; web development (Go, Vue, TypeScript, TailwindCSS, etc.), and also some C/C++, hence this config will be adapted mostly to that. Nonetheless, it hopefully works out of the box or, at least, it is easy to tweak for other purposes.

Performance

I'm using a lot of plugins (+100!). This can be scary as it generally correlates to poor performance, and performance is a top reason why a lot of people use n/vim. However, this config runs at a fair speed thanks, mostly, to lazy loading: most plugins are only loaded when used via their commands or on specific events. I am dropping a personally acceptable amount of performance for great functionality gains, which in my view and for my use cases is worth it.

After performing some startup time tests, these are the results obtained in an M1 Pro 2021 MacBook Pro (note that there will be variance in your experiences, based on a variety of factors):

  • Starting up nvim without opening a file: ~50 ms
  • Starting up nvim opening a ~100 lines file: ~150 ms

Acknowledgments

This config is just the work of the Neovim team and contributors, as well as the developers who contribute to the nvim plugin ecosystem, glued together in a certain way. Much appreciation for this community!

Initially when starting to write this config, I took as reference boilerplate code from many open source configs out there in order to develop different parts and features. These include (but are not limited to):