Agent skill
config-neovim
Use this skill when working with neovim configurations, Lua scripting for Neovim, plugin management, LSP setup, or any Neovim-related development tasks.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/config-neovim-twistoy-dotvim
SKILL.md
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.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?