Remove hjkl bindings as they make no sense what so ever when using colemak, I have my own keyboard layer setup for the arrow keys there.

This commit is contained in:
Martin Larsson 2024-04-10 13:06:58 +02:00
parent d949b834d6
commit 45555751eb

View file

@ -5,6 +5,19 @@ g.maplocalleader = " "
require("utils").add_keymaps({
n = {
-- Disable hjkl, using Colemak
["h"] = {
cmd = "<Nop>",
},
["j"] = {
cmd = "<Nop>",
},
["k"] = {
cmd = "<Nop>",
},
["l"] = {
cmd = "<Nop>",
},
-- Navigation
["<C-Left>"] = {
cmd = "<C-w>h",
@ -55,7 +68,7 @@ require("utils").add_keymaps({
cmd = "<Nop>",
},
},
i = { },
i = {},
v = {
["<Up>"] = {
cmd = "v:count || mode(1)[0:1] == \"no\" ? \"k\" : \"gk\"",