Awesome
duck.nvim
A duck that waddles between your codes
Coding? release the duck. <br /> bored? release the duck. <br /> not bored? release the duck. <br />
Install and Configure
{
'tamton-aquib/duck.nvim',
config = function()
vim.keymap.set('n', '<leader>dd', function() require("duck").hatch() end, {})
vim.keymap.set('n', '<leader>dk', function() require("duck").cook() end, {})
vim.keymap.set('n', '<leader>da', function() require("duck").cook_all() end, {})
end
}
To set custom character:
nnoremap <leader>dd :lua require("duck").hatch("āļ")<CR>
popular candidates: đĻ āļ đĻ đ đ đĻ đ¤
You can also specify how fast a duck moves (measured in steps per second):
vim.keymap.set('n', '<leader>dd', function() require("duck").hatch("đĻ", 10) end, {}) -- A pretty fast duck
vim.keymap.set('n', '<leader>dc', function() require("duck").hatch("đ", 0.75) end, {}) -- Quite a mellow cat
Features
- can release multiple ducks.
- does not load on startup.
- Light weight, <100 LOC
- Its a duck