adding kub templates

This commit is contained in:
Wilson 2025-07-30 14:59:10 -04:00
parent 5188bb0e10
commit 4bab381ca3
2 changed files with 25 additions and 0 deletions

View file

@ -38,3 +38,8 @@ end)
-- In your keybindings configuration (e.g., lua/config/keymaps.lua or init.lua)
vim.keymap.set('n', '<leader>w', '<cmd>NvimTreeToggle<CR>', { desc = 'Toggle NvimTree' })
-- Insert Kubernetes Deployment template below the cursor
vim.keymap.set('n', '<leader>kd', function()
vim.cmd 'read ~/.config/nvim/lua/custom/templates/k8s-deployment.yaml'
end, { desc = 'Insert K8s Deployment template' })