add duck.nvim

This commit is contained in:
Pim Kunis 2023-01-20 18:19:39 +01:00
parent 0230504c0d
commit 7f15b53b63
2 changed files with 5 additions and 0 deletions

View file

@ -7,4 +7,7 @@ return require('packer').startup(function()
-- Better increment/decrement
use 'monaqa/dial.nvim'
-- Incredibly cute duck
use 'tamton-aquib/duck.nvim'
end)

View file

@ -0,0 +1,2 @@
vim.keymap.set('n', '<leader>dd', function() require("duck").hatch("🐈") end, {})
vim.keymap.set('n', '<leader>dk', function() require("duck").cook() end, {})