return { { "nvim-surround", event = "DeferredUIEnter", after = function() require("nvim-surround").setup({}) end, }, { "vim-wordmotion", keys = { -- This overrides the default ge & gw but i never used them. { "gw", "WordMotion_w", desc = "Next small world", mode = { "n", "x", "o" } }, { "ge", "WordMotion_e", desc = "Next end of small world", mode = { "n", "x", "o" } }, { "gb", "WordMotion_b", desc = "Previous small world", mode = { "n", "x", "o" } }, { "igw", "WordMotion_iw", desc = "inner small word", mode = { "x", "o" } }, { "agw", "WordMotion_aw", desc = "a small word (with white-space)", mode = { "x", "o" } }, }, before = function() -- This never gets applied (ordering issue with wordmotion's autoload) -- This is also set in `settings.lua` but kept here for documentation purposes vim.g.wordmotion_nomap = true end, }, { "leap.nvim", keys = { { "s", "(leap-forward-till)", mode = { "n", "x", }, desc = "Leap forward to" }, { "S", "(leap-backward)", mode = { "n", "x", }, desc = "Leap backward to" }, { "z", "(leap-forward-till)", mode = "o", desc = "Leap forward to" }, { "Z", "(leap-backward)", mode = "o", desc = "Leap backward to" }, }, }, { "flit.nvim", keys = { "f", "F", "t", "T" }, after = function() require("flit").setup() end, }, }