feat(nvim): add incremental selection in ts

nixos
Moritz Böhme 2024-10-26 17:04:37 +02:00
parent fb41614b4f
commit 89fe11a95f
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 6 additions and 0 deletions

View File

@ -11,6 +11,12 @@ in
nixvimInjections = true; nixvimInjections = true;
settings.indent.enable = true; settings.indent.enable = true;
settings.highlight.enable = true; settings.highlight.enable = true;
settings.incremental_selection = {
enable = true;
keymaps.init_selection = "gn";
keymaps.node_decremental = "gp";
keymaps.node_incremental = "gn";
};
}; };
performance.combinePlugins.standalonePlugins = [ performance.combinePlugins.standalonePlugins = [
"nvim-treesitter" "nvim-treesitter"