Exrc.nvim
Secure Project Local Config for Neovim
Install / Use
/learn @MunifTanjim/Exrc.nvimREADME
Warning
Neovim v0.9.0 onwards supports secure
.exrc,.nvimrcand.nvim.luafiles. You don't need this plugin anymore.Just enable the
'exrc'option:vim.o.exrc = trueFor more information, check:
:help 'exrc':help exrc
exrc.nvim
Local config file with confirmation for Neovim.
Installation
Install the plugin with your preferred plugin manager. For example, with vim-plug:
Plug 'MunifTanjim/exrc.nvim'
It's recommended to also install nui.nvim for a better UX:
Plug 'MunifTanjim/nui.nvim'
Setup
exrc.nvim needs to be initialized with the require("exrc").setup() function.
For example:
-- disable built-in local config file support
vim.o.exrc = false
require("exrc").setup({
files = {
".nvimrc.lua",
".nvimrc",
".exrc.lua",
".exrc",
},
})
Commands
ExrcSource
Re-source exrc file:
:ExrcSource
Reset state and re-source exrc file:
:ExrcSource!
Similar Projects
ii14/exrc.vimjenterkin/vim-autosourcekrisajenkins/vim-projectlocalLucHermitte/local_vimrcwindwp/nvim-projectconfig
License
Licensed under the MIT License. Check the LICENSE file for details.
Related Skills
node-connect
335.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
335.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.7kCommit, push, and open a PR
