Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I like direnv since sometime I want custom configurations for my shell as well and then the direnv vim plugin for actual vim configuration.
As the number of projects I work on with neovim has grown in number and diversity, I have felt the need for project specific configuration more and more. Based on this issue and this issue it seems like there are or were plans/ideas to add some project management and configuration features to neovim core.
As the number of projects I work on with neovim has grown in number and diversity, I have felt the need for project specific configuration more and more. Based on this issue and this issue it seems like there are or were plans/ideas to add some project management and configuration features to neovim core.
I just use nvim-config-local, which is basically just souped up :h 'exrc'. And then from there I typically set makeprg and a custom "run" command if I want, along with any other settings I might want in the project. I tried using some custom runner type plugins in the past but I think this method has provided me with the most flexibility, and I don't have to learn anything new because it's just the same as what i do in my init.lua.
I like direnv since sometime I want custom configurations for my shell as well and then the direnv vim plugin for actual vim configuration.
exrc can enable untrusted arbitrary execution. See https://github.com/ii14/exrc.vim that tries to mitigate this.
I've been using vim sessions for a while now. Sessions can have their own configuration files and that's what I use for projects. For this to be actually convenient you'll need plugin like persistence.nvim to handle the sessions themselves (or make your own workflow).
I've had a requirement similar to yours and I have developed (well...still developing...) a plugin which fits my use cases: https://github.com/Dax89/IDE.nvim
https://github.com/MarcWeber/vim-addon-local-vimrc does the job just fine.
At this point its fair to admit that this is not what im doing, i dont need that, i m just giving my subjective opinions. Its just .idea and .vscode in each repo and i feel like adding another plugin dependency just so you can put another one there isnt something i wanna do but i m definitelly a minority, looks like it
At this point its fair to admit that this is not what im doing, i dont need that, i m just giving my subjective opinions. Its just .idea and .vscode in each repo and i feel like adding another plugin dependency just so you can put another one there isnt something i wanna do but i m definitelly a minority, looks like it
I'm mostly fine with language specific configuration, which I find not too hard to manage in my init.vim, but I rely a lot on project specific commands for building and running projects, so I'll do a shameless plug for my plugin, confiture.nvim, which aims to provide a simple solution for this.
Related posts
- What are some plugins that you can't live without?
- What IDEA or Vscode feature/function you want to have in neovim eco-system?
- Editing init.lua with lua_ls on gives "Undefined global : vim" ?
- Set it and forget it plugins?
- mini.files - navigate and manipulate file system (with column view and editing text)