feat(nvim): add keybinding to insert em dash in insert mode
This commit is contained in:
parent
efed48c3a1
commit
b5765f5509
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user