-- this isn't windows, screw the F1->help key vim.keymap.set({ "n", "v", "o", "i" }, "", "") -- clear highlights on search when pressing in normal mode vim.keymap.set("n", "", "nohlsearch") -- loclist navigation vim.keymap.set({ "n", "v", "i" }, "", "lprev") vim.keymap.set({ "n", "v", "i" }, "", "lnext") -- Pop-up menu navigation with tab vim.keymap.set("i", "", function() return vim.fn.pumvisible() and "" or "" end, { expr = true, remap = false }) vim.keymap.set("i", "", function() return vim.fn.pumvisible() and "" or "" end, { expr = true, remap = false })