feat: add key mapping for 'jk' to escape in insert and visual modes

This commit is contained in:
2024-11-03 01:51:13 -04:00
parent cf560790cf
commit 0261c76cec
+6
View File
@@ -871,6 +871,12 @@ M.minifiles = {
--- Misc keymaps
M.misc = {
{ -- jk in insert and visual to escape
"jk",
"<esc>",
mode = { "i", "v" },
desc = "Escape",
},
{ -- Clear search highlight
"<leader>s<Esc>",
"<cmd>noh<cr><esc>",