Skip to content

Commit

Permalink
refactor(treesitter)!: use <bs> in visual mode to shrink delection. F…
Browse files Browse the repository at this point in the history
…ixes #71
  • Loading branch information
folke committed Jan 17, 2023
1 parent 201a3d1 commit ba00402
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lua/lazyvim/plugins/treesitter.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -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>",
},
},
},
Expand Down

0 comments on commit ba00402

Please sign in to comment.