mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 05:51:06 +00:00
refactor(treesitter)!: use <bs> in visual mode to shrink delection. Fixes #71
This commit is contained in:
parent
201a3d171e
commit
ba0040230e
1 changed files with 3 additions and 3 deletions
|
|
@ -6,7 +6,7 @@ return {
|
||||||
event = "BufReadPost",
|
event = "BufReadPost",
|
||||||
keys = {
|
keys = {
|
||||||
{ "<c-space>", desc = "Increment selection" },
|
{ "<c-space>", desc = "Increment selection" },
|
||||||
{ "<c-bs>", desc = "Schrink selection" },
|
{ "<bs>", desc = "Schrink selection", mode = "x" },
|
||||||
},
|
},
|
||||||
---@type TSConfig
|
---@type TSConfig
|
||||||
opts = {
|
opts = {
|
||||||
|
|
@ -35,8 +35,8 @@ return {
|
||||||
keymaps = {
|
keymaps = {
|
||||||
init_selection = "<C-space>",
|
init_selection = "<C-space>",
|
||||||
node_incremental = "<C-space>",
|
node_incremental = "<C-space>",
|
||||||
scope_incremental = false,
|
scope_incremental = "<nop>",
|
||||||
node_decremental = "<C-bs>",
|
node_decremental = "<bs>",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue