diff --git a/modules/programs/nvim/new_plugins/treesitter.nix b/modules/programs/nvim/new_plugins/treesitter.nix index 6ccb255..f0409fc 100644 --- a/modules/programs/nvim/new_plugins/treesitter.nix +++ b/modules/programs/nvim/new_plugins/treesitter.nix @@ -11,6 +11,12 @@ in nixvimInjections = true; settings.indent.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 = [ "nvim-treesitter"