mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-05 06:54:36 +02: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",
|
||||
keys = {
|
||||
{ "<c-space>", desc = "Increment selection" },
|
||||
{ "<c-bs>", desc = "Schrink selection" },
|
||||
{ "<bs>", desc = "Schrink selection", mode = "x" },
|
||||
},
|
||||
---@type TSConfig
|
||||
opts = {
|
||||
|
@ -35,8 +35,8 @@ return {
|
|||
keymaps = {
|
||||
init_selection = "<C-space>",
|
||||
node_incremental = "<C-space>",
|
||||
scope_incremental = false,
|
||||
node_decremental = "<C-bs>",
|
||||
scope_incremental = "<nop>",
|
||||
node_decremental = "<bs>",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue