diff --git a/home/base/desktop/neovim/README.md b/home/base/desktop/neovim/README.md index 70abdc43..a87cfe81 100644 --- a/home/base/desktop/neovim/README.md +++ b/home/base/desktop/neovim/README.md @@ -26,6 +26,17 @@ This document outlines neovim's configuration structure and various shortcuts/co | Toggle visual mode | `v` | | Toggle visual block mode | ` + v` (select a block vertically) | +## Incremental Selection + +Provided by nvim-treesitter. + +| Action | Shortcut | +| ----------------- | -------- | +| init selection | `gnn` | +| node incremental | `grn` | +| scope incremental | `grc` | +| node decremental | `grm` | + ## Text Manipulation - Add at the end of multiple lines: `:normal A` diff --git a/home/base/desktop/neovim/astronvim_user/init.lua b/home/base/desktop/neovim/astronvim_user/init.lua index d5bace9b..c2e79f3f 100644 --- a/home/base/desktop/neovim/astronvim_user/init.lua +++ b/home/base/desktop/neovim/astronvim_user/init.lua @@ -162,6 +162,9 @@ return { -- Undo tree { "debugloop/telescope-undo.nvim", }, + -- Lua implementation of CamelCaseMotion, with extra consideration of punctuation. + { "chrisgrieser/nvim-spider", lazy = true }, + -- Install lsp, formmatter and others via home manager instead of Mason.nvim -- LSP installations {