substitute.nvim
ReplaceWithRegister
Our great sponsors
substitute.nvim | ReplaceWithRegister | |
---|---|---|
11 | 8 | |
447 | 310 | |
- | - | |
7.0 | 10.0 | |
5 months ago | almost 9 years ago | |
Lua | VimL | |
Do What The F*ck You Want To Public License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
substitute.nvim
-
Your favourite Neovim plugins?
https://github.com/gbprod/substitute.nvim https://github.com/smjonas/duplicate.nvim
-
Operator Modifier?
Try this https://github.com/gbprod/substitute.nvim
-
What do you use 's' for in normal mode? vanilla? or something like leap?
That one - https://github.com/gbprod/substitute.nvim . It is two plugins in one technically, substitute and exchange.
-
single yank and multiple pastes over selection
I use substitute.nvim for this purpose, which adds the "substitute" verb that you can apply to a text object to paste over it (without modifying your register).
-
What Vim Motions Do I Need For This?
I know you can accomplish this with vanilla vim motions, but I use a plugin for substituting textobjects with what's in my registers called substitute.nvim. vim-subversive and vim-exchange are other alternatives.
-
keep yank after paste the content above anthor content.
I would recommend substitute.nvim. It lets you input text over a text-object, and doesn't affect your " register
-
neovim plugins that have improved your workflow
vim-subversive/substitute.nvim
-
New Plugin: cool-substitute
Very cool! I think there is also https://github.com/gbprod/substitute.nvim
-
Paste a word without losing the yank buffer
For neovim users -> gbprod/substitute.nvim sxiw jump to another word and press dot
- GitHub - gbprod/substitute.nvim: Neovim plugin introducing a new operators motions to quickly replace and exchange text.
ReplaceWithRegister
- replacewithregister doesn't work properly in LunarVim
-
What Vim Motions Do I Need For This?
I think my single most-used plugin is ReplaceWithRegister. Using that, your 4th step would be gri" (go replace inside quotes).
-
What is the coolest, unknown(-ish) plugin that you're using that other people could benefit from?
2 essential plugins for me that I don’t see talked about much anymore are vim-scripts/ReplaceWithRegister and vim-scripts/ReplaceWithSameIndentRegister. The vanilla way to do this is not super difficult, delete into the black hole register, then paste. Or visually select, then paste. And afterwards clean up the formatting if necessary. But I do this hundreds of times a day, the convenience of having a dedicated command for it is massive.
-
Registers on macOS in the context of pasting from an external app
It sounds like you would enjoy this plugin: https://github.com/vim-scripts/ReplaceWithRegister.
-
What are your must-have vim/nvim extensions?
Someone shared ReplaceWithRegister in a previous thread about plugins. It's become my most used.
- FAVOURITE PLUGINS
-
Favorite unfamous vim/neovim plugin?
One that I use literally 50 times a day is (Replace with register)[https://github.com/vim-scripts/ReplaceWithRegister]. It lets you replace the motioned content with your register, so griw would replace the current word object with the register. Absolutely lost with out it.
- Help trying to break a bad habit
What are some alternatives?
vim-cutlass - Plugin that adds a 'cut' operation separate from 'delete'
nvim-scrollbar - Extensible Neovim Scrollbar
vim-mark - Highlight several words in different colors simultaneously.
vim-subversive - Vim plugin providing operator motions to quickly replace text
flash.nvim - Navigate your code with search labels, enhanced character motions and Treesitter integration
YankAssassin.vim - Don't let the cursor move while Yanking in Vim/Neovim
range-highlight.nvim - An extremely lightweight plugin (~ 120loc) that hightlights ranges you have entered in commandline.
vim-easymotion - Vim motions on speed!
telescope-command-palette.nvim - Create key-bindings and watch them with telescope :telescope:
targets.vim - Vim plugin that provides additional text objects
nvim-neoclip.lua - Clipboard manager neovim plugin with telescope integration
vim-cool - A very simple plugin that makes hlsearch more useful.