From 0be942efe210aac646395535cece713ae3268016 Mon Sep 17 00:00:00 2001 From: Ryan Yin Date: Sat, 12 Aug 2023 20:56:21 +0800 Subject: [PATCH] feat: neovim - more plugins --- home/base/desktop/neovim/README.md | 11 +++++++++++ home/base/desktop/neovim/astronvim_user/init.lua | 3 +++ 2 files changed, 14 insertions(+) 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 {