feat(nvim): added sibling swap and scrollEOF as extras

This commit is contained in:
Sergio Laín 2023-12-03 18:36:53 +01:00
parent 893a2d2a8a
commit 3c6f65eaaa
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
2 changed files with 18 additions and 0 deletions

View file

@ -0,0 +1,13 @@
return {
"Wansmer/sibling-swap.nvim",
dependencies = "nvim-treesitter/nvim-treesitter",
opts = {
use_default_keymaps = false,
highlight_node_at_cursor = true,
},
-- stylua: ignore
keys = {
{ "<C-.>", function() require("sibling-swap").swap_with_right() end, desc = "Move Node Right" },
{ "<C-,>", function() require("sibling-swap").swap_with_left() end, desc = "Move Node Left" },
},
}

View file

@ -0,0 +1,5 @@
return {
"Aasim-A/scrollEOF.nvim",
event = "CursorMoved",
opts = {},
}