feat(nvim): add incremental selection in ts

This commit is contained in:
Moritz Böhme 2024-10-26 17:04:37 +02:00
parent fb41614b4f
commit 89fe11a95f
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

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"