From 72c7a9f63f5f4ee5332e8ec87c318c9bb9eb5838 Mon Sep 17 00:00:00 2001 From: Preston Baxter Date: Tue, 14 Nov 2023 17:42:06 -0600 Subject: [PATCH] add new keys --- lua/pbaxter/remap.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lua/pbaxter/remap.lua b/lua/pbaxter/remap.lua index e69ca35..a2d4b18 100644 --- a/lua/pbaxter/remap.lua +++ b/lua/pbaxter/remap.lua @@ -17,7 +17,6 @@ vim.keymap.set("n", "Y", [["+Y]]) vim.keymap.set("n", "Q", "") vim.keymap.set("n", "f", vim.lsp.buf.format) - vim.keymap.set("n", "k", "lnextzz") vim.keymap.set("n", "j", "lprevzz") @@ -41,3 +40,10 @@ vim.keymap.set("n", "", function() vim.cmd("so") end) +vim.keymap.set("n", "h", function() + vim.cmd("noh") +end) + +vim.keymap.set("n", "c", function() + vim.cmd("bd") +end)