How do you handle project specific configuration?

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • direnv.vim

    vim plugin for direnv support

  • I like direnv since sometime I want custom configurations for my shell as well and then the direnv vim plugin for actual vim configuration.

  • neovim

    Vim-fork focused on extensibility and usability

  • 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.

  • 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.

    InfluxDB logo
  • nvim-lspconfig

    Quickstart configs for Nvim LSP

  • 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.

  • nvim-config-local

    Secure load local config files for neovim

  • 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.

  • direnv

    unclutter your .profile

  • 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.vim

    Local vimrc files

  • exrc can enable untrusted arbitrary execution. See https://github.com/ii14/exrc.vim that tries to mitigate this.

  • persistence.nvim

    💾 Simple session management for Neovim

  • 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).

  • 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.

    WorkOS logo
  • IDE.nvim

    Discontinued IDE-Like support for NeoVim (by Dax89)

  • 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

  • dotfiles

  • vim-addon-local-vimrc

    kiss local vimrc with hash protection

  • https://github.com/MarcWeber/vim-addon-local-vimrc does the job just fine.

  • React

    The library for web and native user interfaces.

  • 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

  • yew

    Rust / Wasm framework for creating reliable and efficient web applications

  • 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

  • confiture.nvim

    A neovim lua plugin to save and launch project specific commands.

  • 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.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts