feat: more editor plugins

This commit is contained in:
Thomas Alcala Schneider 2023-03-22 18:50:48 +01:00
parent a266489958
commit a38042d73e
No known key found for this signature in database
GPG key ID: 24BE5CF48622091B
13 changed files with 151 additions and 35 deletions

View file

@ -0,0 +1,17 @@
return {
"ggandor/leap.nvim",
keys = {
{ "s", mode = { "n", "x", "o" }, desc = "Leap forward to" },
{ "S", mode = { "n", "x", "o" }, desc = "Leap backward to" },
{ "gs", mode = { "n", "x", "o" }, desc = "Leap from windows" },
},
config = function(_, opts)
local leap = require("leap")
for k, v in pairs(opts) do
leap.opts[k] = v
end
leap.add_default_mappings(true)
vim.keymap.del({ "x", "o" }, "x")
vim.keymap.del({ "x", "o" }, "X")
end,
}