Remove the ReplaceWithRegister plugin properly as "P" has the desired functionality now and we can retain the existing logic by swapping the p and P bindings

This commit is contained in:
Kevin MacMartin 2024-03-17 17:47:58 -04:00
parent 4669b199c0
commit b28082ef68
4 changed files with 1 additions and 6 deletions

3
.gitmodules vendored
View file

@ -22,9 +22,6 @@
[submodule "vim/bundle/tabular"] [submodule "vim/bundle/tabular"]
path = vim/bundle/tabular path = vim/bundle/tabular
url = https://github.com/godlygeek/tabular url = https://github.com/godlygeek/tabular
[submodule "vim/bundle/ReplaceWithRegister"]
path = vim/bundle/ReplaceWithRegister
url = https://github.com/prurigro/ReplaceWithRegister.git
[submodule "vim/bundle/splitjoin.vim"] [submodule "vim/bundle/splitjoin.vim"]
path = vim/bundle/splitjoin.vim path = vim/bundle/splitjoin.vim
url = https://github.com/AndrewRadev/splitjoin.vim url = https://github.com/AndrewRadev/splitjoin.vim

View file

@ -130,7 +130,6 @@ For a complete list of mappings specific to **darkcloud-nvimconfig**, check the
* [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter): Treesitter configurations and abstraction layer for Neovim * [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 * [nvim-treesitter-textobjects](https://github.com/nvim-treesitter/nvim-treesitter-textobjects): Syntax aware text-objects, select, move, swap, and peek support
* [qf.nvim](https://github.com/ten3roberts/qf.nvim): Extends the default quickfix and location lists for neovim * [qf.nvim](https://github.com/ten3roberts/qf.nvim): Extends the default quickfix and location lists for neovim
* [ReplaceWithRegister](https://github.com/vim-scripts/ReplaceWithRegister): Replace text with the contents of a register (for paste+replace without writing over the buffer)
* [splitjoin.vim](https://github.com/AndrewRadev/splitjoin.vim): Simplifies the transition between multiline and single-line code * [splitjoin.vim](https://github.com/AndrewRadev/splitjoin.vim): Simplifies the transition between multiline and single-line code
* [tabular](https://github.com/godlygeek/tabular): Vim script for text filtering and alignment * [tabular](https://github.com/godlygeek/tabular): Vim script for text filtering and alignment
* [vim-fugitive](https://github.com/tpope/vim-fugitive): A wrapper integrating git into vim in such a way as to provide features neither of them could offer on their own * [vim-fugitive](https://github.com/tpope/vim-fugitive): A wrapper integrating git into vim in such a way as to provide features neither of them could offer on their own

@ -1 +0,0 @@
Subproject commit ae316e25ddb1b33feb644afc2c29c4f48653b55d

View file

@ -440,7 +440,7 @@
"P pastes and replaces the buffer, p pastes and keeps it "P pastes and replaces the buffer, p pastes and keeps it
vnoremap P p vnoremap P p
xmap p <Plug>ReplaceWithRegisterVisual vnoremap p P
"delete/cut operations that don't replace the paste buffer "delete/cut operations that don't replace the paste buffer
nnoremap <Leader>x "_x nnoremap <Leader>x "_x