feat(nvim): add treesitter bindings for node selection

Using v (enter visual mode) makes more sense than the defaults that
comes with LazyVim
This commit is contained in:
Sergio Laín 2025-08-27 13:21:13 +02:00
parent 14641d063f
commit 526583d640
No known key found for this signature in database
GPG key ID: 51BB28D8B42FB438

View file

@ -0,0 +1,12 @@
return {
"nvim-treesitter/nvim-treesitter",
opts = {
incremental_selection = {
enable = true,
keymaps = {
node_incremental = "v",
node_decremental = "V",
},
},
},
}