feat(nvim): add keybinding to insert em dash in insert mode

This commit is contained in:
Price Hiller 2024-01-21 00:59:40 -06:00
parent efed48c3a1
commit b5765f5509
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -111,6 +111,9 @@ M.setup = function()
{ silent = true, expr = true, desc = "Call Macro Against Visual Selection" }) { silent = true, expr = true, desc = "Call Macro Against Visual Selection" })
vim.keymap.set("x", "Q", ':normal! @<C-R>=reg_recorded()<CR><CR>', vim.keymap.set("x", "Q", ':normal! @<C-R>=reg_recorded()<CR><CR>',
{ silent = true, desc = "Call Last Macro Against Visual Selection" }) { silent = true, desc = "Call Last Macro Against Visual Selection" })
-- Insert an Em Dash in insert mode
vim.keymap.set("i", "<A-->", "", { silent = true, desc = "Insert: Em Dash" })
end end
return M return M