refactor(nvim): remove custom bindings for macro ranges in insert mode
Neovim master now has this functionality natively, no need to include it and maintain it in my own config.
This commit is contained in:
parent
8f1d9bfb84
commit
31d61b0c12
@ -106,12 +106,6 @@ M.setup = function()
|
||||
-- Binding to allow shift tab dedent
|
||||
vim.keymap.set("i", "<S-Tab>", "<C-d>", { silent = true, desc = "Insert: Dedent" })
|
||||
|
||||
-- Allow macros to be invoked over a visual range via a keybind in visual mode
|
||||
vim.keymap.set("x", "@", "':normal! @'.getcharstr().'<CR>'",
|
||||
{ silent = true, expr = true, desc = "Call Macro Against Visual Selection" })
|
||||
vim.keymap.set("x", "Q", ':normal! @<C-R>=reg_recorded()<CR><CR>',
|
||||
{ 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
|
||||
|
Loading…
Reference in New Issue
Block a user