Replace vim-surround with nvim-surround

This commit is contained in:
Kevin MacMartin 2024-03-05 13:03:53 -05:00
parent 221712b26a
commit 418f687a0e
5 changed files with 9 additions and 6 deletions

6
.gitmodules vendored
View file

@ -7,9 +7,6 @@
[submodule "vim/bundle/lightline.vim"]
path = vim/bundle/lightline.vim
url = https://github.com/itchyny/lightline.vim
[submodule "vim/bundle/vim-surround"]
path = vim/bundle/vim-surround
url = https://github.com/tpope/vim-surround.git
[submodule "vim/bundle/tagbar"]
path = vim/bundle/tagbar
url = https://github.com/majutsushi/tagbar
@ -94,3 +91,6 @@
[submodule "vim/bundle/nvim-treesitter-textobjects"]
path = vim/bundle/nvim-treesitter-textobjects
url = https://github.com/nvim-treesitter/nvim-treesitter-textobjects
[submodule "vim/bundle/nvim-surround"]
path = vim/bundle/nvim-surround
url = https://github.com/kylechui/nvim-surround

View file

@ -129,6 +129,7 @@ For a complete list of mappings specific to **darkcloud-nvimconfig**, check the
* [cmp-treesitter](https://github.com/ray-x/cmp-treesitter): Treesitter source for nvim-cmp
* [nvim-snippy](https://github.com/dcampos/nvim-snippy): Snippet plugin for Neovim written in Lua
* [vim-snippets](https://github.com/honza/vim-snippets): Snippets files for various programming languages
* [nvim-surround](https://github.com/kylechui/nvim-surround): Add/change/delete surrounding delimiter pairs with ease
* [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter): Treesitter configurations and abstraction layer for Neovim
* [nvim-treesitter-textobjects](https://github.com/nvim-treesitter/nvim-treesitter-textobjects): Syntax aware text-objects, select, move, swap, and peek support
* [ReplaceWithRegister](https://github.com/vim-scripts/ReplaceWithRegister): Replace text with the contents of a register (for paste+replace without writing over the buffer)
@ -141,11 +142,10 @@ For a complete list of mappings specific to **darkcloud-nvimconfig**, check the
* [vim-pathogen](https://github.com/tpope/vim-pathogen): A plugin to load other plugins while keeping them isolated in their own directory structure rather than all dumped together
* [vim-polyglot-darkcloud](https://github.com/prurigro/vim-polyglot-darkcloud): The darkcloud-nvimconfig fork of a meta-package that attempts to provide the best syntax plugins for each file type
* [vim-signify](https://github.com/mhinz/vim-signify): When a version controlled file is changed, this displays a column showing where and how, and allows for navigation to and between differences
* [vim-surround](https://github.com/tpope/vim-surround): Provides functionality to exchange surrounding delimiters and xml-style tags with another, or simply remove them
* [vim-repeat](https://github.com/tpope/vim-repeat): A library used by vim-surround to allow its delimiter-switching functions to be repeated with the `.` command
* [vim-togglelist](https://github.com/milkypostman/vim-togglelist): A simple plugin for vim that allows you to bind a key to toggle the Location List and the Quickfix List
* [vim-trailing-whitespace](https://github.com/bronson/vim-trailing-whitespace): Highlights and allows for the easy removal of trailing whitespace in documents
* [vim-unimpaired](https://github.com/tpope/vim-unimpaired): Pairs of handy bracket mappings
* [vim-repeat](https://github.com/tpope/vim-repeat): A library used by vim-surround to allow its delimiter-switching functions to be repeated with the `.` command
## Credits

@ -0,0 +1 @@
Subproject commit 84a26afce16cffa7e3322cfa80a42cddf60616eb

@ -1 +0,0 @@
Subproject commit 3d188ed2113431cf8dac77be61b842acb64433d9

View file

@ -0,0 +1,3 @@
require("nvim-surround").setup {
move_cursor = false
}