treejoin and leap S default

This commit is contained in:
Christoph J. Scherr 2024-01-20 16:27:44 +01:00
parent ab603072b9
commit 0acdd8230b
Signed by: PlexSheep
GPG Key ID: 7CDD0B14851A08EF
2 changed files with 18 additions and 9 deletions

View File

@ -105,43 +105,43 @@ M.comment = {
M.leap = { M.leap = {
plugin = true, plugin = true,
n = { n = {
["<leader>s"] = { ["s"] = {
"<plug>(leap-forward)", "<plug>(leap-forward)",
"leap forward", "leap forward",
}, },
["<leader>S"] = { ["S"] = {
"<plug>(leap-backward)", "<plug>(leap-backward)",
"leap backward", "leap backward",
}, },
["<leader>gs"] = { ["gs"] = {
"<plug>(leap-from-window)", "<plug>(leap-from-window)",
"leap from window", "leap from window",
}, },
}, },
x = { x = {
["<leader>s"] = { ["s"] = {
"<plug>(leap-forward)", "<plug>(leap-forward)",
"leap forward", "leap forward",
}, },
["<leader>S"] = { ["S"] = {
"<plug>(leap-backward)", "<plug>(leap-backward)",
"leap forward", "leap forward",
}, },
["<leader>gs"] = { ["gs"] = {
"<plug>(leap-from-window)", "<plug>(leap-from-window)",
"leap from window", "leap from window",
}, },
}, },
o = { o = {
["<leader>s"] = { ["s"] = {
"<plug>(leap-forward)", "<plug>(leap-forward)",
"leap forward", "leap forward",
}, },
["<leader>S"] = { ["S"] = {
"<plug>(leap-backward)", "<plug>(leap-backward)",
"leap forward", "leap forward",
}, },
["<leader>gs"] = { ["gs"] = {
"<plug>(leap-from-window)", "<plug>(leap-from-window)",
"leap from window", "leap from window",
}, },

View File

@ -625,6 +625,15 @@ local plugins = {
end, end,
}, },
{ "kosayoda/nvim-lightbulb", event = { "BufReadPre", "BufNewFile" } }, { "kosayoda/nvim-lightbulb", event = { "BufReadPre", "BufNewFile" } },
{
"Wansmer/treesj",
lazy = false,
cmd = { "TSJJoin", "TSJSplit" },
keys = {
{ "k", "<cmd>TSJJoin<CR>" },
{ "S", "<cmd>TSJSplit<CR>" },
},
},
} }
return plugins return plugins