This commit is contained in:
2025-09-23 17:57:07 +02:00
parent 1da66a323a
commit cc74ea3f9a
2 changed files with 8 additions and 7 deletions

View File

@@ -62,6 +62,7 @@
ke = "k edit";
kl = "k logs";
kp = "k patch";
kc = "k create";
kr = "k rollout";
krr = "k rollout restart";
kpf = "k port-forward";

View File

@@ -11,10 +11,10 @@ return {
"vim-wordmotion",
keys = {
-- This overrides the default ge & gw but i never used them.
{ "gw", "<plug>WordMotion_w", desc = "Next small world", mode = { "n", "x", "o" } },
{ "ge", "<plug>WordMotion_e", desc = "Next end of small world", mode = { "n", "x", "o" } },
{ "gb", "<plug>WordMotion_b", desc = "Previous small world", mode = { "n", "x", "o" } },
{ "igw", "<plug>WordMotion_iw", desc = "inner small word", mode = { "x", "o" } },
{ "gw", "<plug>WordMotion_w", desc = "Next small world", mode = { "n", "x", "o" } },
{ "ge", "<plug>WordMotion_e", desc = "Next end of small world", mode = { "n", "x", "o" } },
{ "gb", "<plug>WordMotion_b", desc = "Previous small world", mode = { "n", "x", "o" } },
{ "igw", "<plug>WordMotion_iw", desc = "inner small word", mode = { "x", "o" } },
{ "agw", "<plug>WordMotion_aw", desc = "a small word (with white-space)", mode = { "x", "o" } },
},
before = function()
@@ -28,9 +28,9 @@ return {
"leap.nvim",
keys = {
{ "s", "<Plug>(leap-forward-till)", mode = { "n", "x", }, desc = "Leap forward to" },
{ "S", "<Plug>(leap-backward)", mode = { "n", "x", }, desc = "Leap backward to" },
{ "z", "<Plug>(leap-forward-till)", mode = "o", desc = "Leap forward to" },
{ "Z", "<Plug>(leap-backward)", mode = "o", desc = "Leap backward to" },
{ "S", "<Plug>(leap-backward)", mode = { "n", "x", }, desc = "Leap backward to" },
{ "z", "<Plug>(leap-forward-till)", mode = "o", desc = "Leap forward to" },
{ "Z", "<Plug>(leap-backward)", mode = "o", desc = "Leap backward to" },
},
},