This skill helps you customize LazyVim by guiding configuration, plugin setup, and keybindings for Neovim.
npx playbooks add skill trentshaines/dotfiles --skill trent-lazyvim
The LazyVim configuration is located at:
/Users/trent/.config/nvim//Users/trent/.config/nvim/init.lua/Users/trent/.config/nvim/lua/config/lazy.lua/Users/trent/.config/nvim/lua/config/keymaps.lua/Users/trent/.config/nvim/lua/config/options.lua/Users/trent/.config/nvim/lua/plugins/*.lua/Users/trent/.config/nvim/lazyvim.jsonAlways reference the official LazyVim and Neovim documentation when helping:
The user has the following LazyVim extras installed (from lazyvim.json):
lazyvim.plugins.extras.coding.yanky (yank history)lazyvim.plugins.extras.editor.mini-files (file explorer)lazyvim.plugins.extras.lang.jsonlazyvim.plugins.extras.lang.markdownlazyvim.plugins.extras.lang.tomlThe user has custom plugin configurations in /Users/trent/.config/nvim/lua/plugins/:
lunarvim-extras.lua - LunarVim-inspired extrasvim-tmux-navigator.lua - Seamless tmux/vim navigationtokyonight.lua - Tokyo Night colorschemepython-indent.lua - Python indentationsnacks.lua - Snacks plugin configurationmason.lua - LSP/DAP/linter installerfirenvim.lua - Neovim in browservim.g.lazyvim_colorscheme = "tokyonight")vim.g.snacks_animate = false)Notable custom keybindings:
<leader>o / <leader>i - Jump back/forward in jumplist<leader>1-9 - Quick buffer navigation by number<C-w>hjkl - Window resizing (small increments)<C-w>HJKL - Window resizing (large increments)init.lua - Entry point, requires config.lazylua/config/lazy.lua - Sets up lazy.nvim and imports pluginslua/config/options.lua - Loaded before lazy.nvim startuplua/config/keymaps.lua - Loaded on VeryLazy eventlua/config/autocmds.lua - Loaded on VeryLazy eventlua/plugins/*.lua - All Lua files automatically loaded by lazy.nvimMethod 1: Create a new file in lua/plugins/
-- lua/plugins/example.lua
return {
"author/plugin-name",
opts = {
-- plugin options here
},
keys = {
-- global keymaps here
},
}
Method 2: Override/extend existing LazyVim plugins
return {
"LazyVim/LazyVim",
opts = {
-- override LazyVim defaults
},
}
lua/config/keymaps.lua: For core Neovim/LazyVim keybindings not specific to pluginskeys field: For global Normal mode keybindings that trigger plugin functionalityopts field: For plugin-specific keymaps that only apply when the plugin is activelua/plugins/name.lua)keymaps.lua for general keybindingsoptions.lua for Neovim settings:Lazy - Open lazy.nvim plugin manager:LazyExtras - Browse and install LazyVim extras:Mason - Open Mason installer for LSP/DAP/linters:checkhealth - Run Neovim health checks:help lazy.nvim - View lazy.nvim documentation:help lazyvim - View LazyVim documentationIMPORTANT FOR CLAUDE: When the user asks you to list keybindings or you need to discover what keybindings are available, use this command:
nvim --headless +"lua local keymaps = vim.api.nvim_get_keymap('n'); for _, map in ipairs(keymaps) do if map.lhs:match('^%s') and map.desc then print(string.format('%s|%s', map.lhs:gsub('%s', '<leader>'), map.desc)) end end" +quit 2>&1 | sort
What this does:
vim.api.nvim_get_keymap('n'))<leader>key|DescriptionOutput format example:
<leader>ff|Find Files (Root Dir)
<leader>fg|Find Files (git-files)
<leader>gB|Browse git link
<leader>sk|Keymaps
To extract ALL modes (not just normal):
nvim --headless +"lua for _, mode in ipairs({'n', 'v', 'i', 'x', 't'}) do local maps = vim.api.nvim_get_keymap(mode); for _, map in ipairs(maps) do if map.desc then print(string.format('[%s] %s|%s', mode, map.lhs, map.desc)) end end end" +quit 2>&1 | sort
To get raw keymap data (includes callbacks, functions, etc.):
nvim --headless -c "lua vim.print(vim.inspect(vim.api.nvim_get_keymap('n')))" -c "quit"
Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.