nix-config/home/vim/plugin/abbreviations.vim

12 lines
221 B
VimL
Raw Normal View History

lua << EOF
local abbreviations = {
-- A few things that are hard to write in ASCII
["(R)"] = "©",
["(TM)"] = "™",
}
2021-02-23 16:04:47 +01:00
for text, result in pairs(abbreviations) do
vim.cmd.abbreviate(text, result)
end
EOF