refactor(treesitter)!: use <bs> in visual mode to shrink delection. Fixes #71

This commit is contained in:
Folke Lemaitre committed 2023-01-17 14:44:52 +01:00
1 parent 201a3d171e
commit ba0040230e
1 file changed
+3 -3
+3 -3
View File
@@ -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>",
},
},
},