Bits and bytes of code

Bytes is my collection of short-form posts, tips, and things I learn as I build software.

Neovim's vim.keymap.set and similar utilities are very useful for creating and managing keymaps, however they lack some ergonomics when building more complex keymaps that require setting and deleting the keymaps periodically. A simply utility function makes this really clean and easy to do.

Next page