nix-config/home/vim/plugin/abbreviations.vim
2023-05-07 13:36:10 +01:00

12 lines
221 B
VimL

lua << EOF
local abbreviations = {
-- A few things that are hard to write in ASCII
["(R)"] = "©",
["(TM)"] = "™",
}
for text, result in pairs(abbreviations) do
vim.cmd.abbreviate(text, result)
end
EOF