diff --git a/roles/neovim/files/lua/plugins.lua b/roles/neovim/files/lua/plugins.lua index 67301ff..3a20f5c 100644 --- a/roles/neovim/files/lua/plugins.lua +++ b/roles/neovim/files/lua/plugins.lua @@ -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) diff --git a/roles/neovim/files/plugin/duck.lua b/roles/neovim/files/plugin/duck.lua new file mode 100644 index 0000000..b191ee0 --- /dev/null +++ b/roles/neovim/files/plugin/duck.lua @@ -0,0 +1,2 @@ +vim.keymap.set('n', 'dd', function() require("duck").hatch("🐈") end, {}) +vim.keymap.set('n', 'dk', function() require("duck").cook() end, {})