diff --git a/home/base/desktop/neovim/README.md b/home/base/desktop/neovim/README.md index 645bb754..bd782982 100644 --- a/home/base/desktop/neovim/README.md +++ b/home/base/desktop/neovim/README.md @@ -46,10 +46,10 @@ Provided by nvim-treesitter. | Action | Shortcut | | ----------------- | -------- | -| init selection | `gnn` | -| node incremental | `grn` | -| scope incremental | `grc` | -| node decremental | `grm` | +| init selection | `` | +| node incremental | `` | +| scope incremental | `` | +| node decremental | `Backspace` | ## Text Manipulation diff --git a/home/base/desktop/neovim/astronvim_user/init.lua b/home/base/desktop/neovim/astronvim_user/init.lua index 7dc0acef..1f163b7b 100644 --- a/home/base/desktop/neovim/astronvim_user/init.lua +++ b/home/base/desktop/neovim/astronvim_user/init.lua @@ -130,12 +130,26 @@ return { {"nvim-lua/plenary.nvim"}, } }, + + -- full signature help, docs and completion for the nvim lua API. + { "folke/neodev.nvim", opts = {} }, + + { "RRethy/vim-illuminate", config = function() end }, + -- Language Parser for syntax highlighting / indentation / folding / Incremental selection { "nvim-treesitter/nvim-treesitter", opts = function(_, opts) local utils = require "astronvim.utils"; - opts.indent.enable = false; + opts.incremental_selection = { + enable = true, + keymaps = { + init_selection = "", -- Ctrl + Space + node_incremental = "", + scope_incremental = "", -- Alt + Space + node_decremental = "", -- Backspace + }, + } opts.ensure_installed = utils.list_insert_unique(opts.ensure_installed, { -- neovim "vim",