|
|
|
|
@@ -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" },
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|