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 = {
plugin = true,
n = {
["<leader>s"] = {
["s"] = {
"<plug>(leap-forward)",
"leap forward",
},
["<leader>S"] = {
["S"] = {
"<plug>(leap-backward)",
"leap backward",
},
["<leader>gs"] = {
["gs"] = {
"<plug>(leap-from-window)",
"leap from window",
},
},
x = {
["<leader>s"] = {
["s"] = {
"<plug>(leap-forward)",
"leap forward",
},
["<leader>S"] = {
["S"] = {
"<plug>(leap-backward)",
"leap forward",
},
["<leader>gs"] = {
["gs"] = {
"<plug>(leap-from-window)",
"leap from window",
},
},
o = {
["<leader>s"] = {
["s"] = {
"<plug>(leap-forward)",
"leap forward",
},
["<leader>S"] = {
["S"] = {
"<plug>(leap-backward)",
"leap forward",
},
["<leader>gs"] = {
["gs"] = {
"<plug>(leap-from-window)",
"leap from window",
},

View File

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