Our great sponsors
-
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.
-
vim-localvimrc
Search local vimrc files (".lvimrc") in the tree (root dir up to current dir) and load them.
-
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.
Using environment vars should be good : https://github.com/tpope/vim-dotenv is a plugin able to read .env files. you can also run vim like this PROJECT=myproject SPACES=4 vim but I don't think this will do the trick for you. Finally if it is only a indent/end char/... issue, you can check https://editorconfig.org/
Using environment vars should be good : https://github.com/tpope/vim-dotenv is a plugin able to read .env files. you can also run vim like this PROJECT=myproject SPACES=4 vim but I don't think this will do the trick for you. Finally if it is only a indent/end char/... issue, you can check https://editorconfig.org/
If what you want is like "I have a bunch of nodejs projects and want to run them from vim", then I think you should check some plugins like https://github.com/neoclide/npm.nvim and do :NpmRun (to stay on my example, unchecked).
I've written a plugin which solves this for me: https://github.com/jandamm/vim-projplugin