diff --git a/lua/core/keymap.lua b/lua/core/keymap.lua index 872469b..62bafb1 100644 --- a/lua/core/keymap.lua +++ b/lua/core/keymap.lua @@ -124,10 +124,9 @@ vim.keymap.set("n", "gr", "") vim.cmd.aunmenu({ "PopUp.-1-" }) vim.cmd.aunmenu({ "PopUp.How-to\\ disable\\ mouse" }) --- Insert-mode Emacs bindings (C-f/C-b live further down inside hover_scroll_map) +-- Insert-mode Emacs bindings vim.keymap.set("i", "", "^") vim.keymap.set("i", "", function() - -- Fall through to Vim's default (close popup + revert) during completion. return vim.fn.pumvisible() ~= 0 and "" or "$" end, { expr = true, replace_keycodes = true }) -- vim.keymap.set('i', '', 'x') -- Overrides de-indent