Skip to content

Commit

Permalink
treesitter incremental selection
Browse files Browse the repository at this point in the history
  • Loading branch information
mightyiam committed Jan 8, 2025
1 parent 860450b commit 7f8dc22
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions nixvim/treesitter.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
settings = {
highlight.enable = true;
indent.enable = true;
incremental_selection = {
enable = true;
keymaps = {
init_selection = "<CR>";
node_incremental = "<CR>";
node_decremental = "<BS>";
};
};
};
};
}

0 comments on commit 7f8dc22

Please sign in to comment.