init
This commit is contained in:
14
nvim/lua/plugins/extras/coding/treesitter/sibling-swap.lua
Normal file
14
nvim/lua/plugins/extras/coding/treesitter/sibling-swap.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
return {
|
||||
"Wansmer/sibling-swap.nvim",
|
||||
dependencies = "nvim-treesitter/nvim-treesitter",
|
||||
vscode = true,
|
||||
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" },
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user