config-neovim
Use this skill when working with neovim configurations, Lua scripting for Neovim, plugin management, LSP setup, or any Neovim-related development tasks.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
config-neovim
When To Use
Use this skill when working with neovim configurations, Lua scripting for Neovim, plugin management, LSP setup, or any Neovim-related development tasks.
What Can Do
- Manage plugins
- Manage keymaps
- Manage LSP setup
Quick Reference
Add a new plugin
Create file in appropriate caregory under lua/dotvim/plugins.
return {
"author/plugin-name",
event = "VeryLazy",
opts = {
-- options
},
}
Extending LSP Server Config
Create or update file under lsp/.
---@type vim.lsp.Config
return {
cmd = { ... },
init_options = { ... }
capabilities = { ... },
}
Adding a Keymap
If the keymap is highly plugin-related, config the keymap in that plugin's spec.
return {
"author/plugin-name",
keys = { ... } -- config keymaps here
}
Others, config the keymap in lua/dotvim/configs/keymaps.lua.
vim.keymap.set("n", "<M-n>", "<cmd>nohl<CR>", { desc = "nohl" })
If the new keymap also creates a new which-key group, add the group in lua/dotvim/plugins/base/which-key.lua.
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!