substitute.nvim
cool-substitute.nvim
Our great sponsors
substitute.nvim | cool-substitute.nvim | |
---|---|---|
11 | 3 | |
447 | 79 | |
- | - | |
7.0 | 0.0 | |
5 months ago | about 1 year ago | |
Lua | Lua | |
Do What The F*ck You Want To Public License | GNU General Public License v3.0 only |
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.
cool-substitute.nvim
- nvim alternative for vim-visual-multi
-
Multiple cursors feature is equivalent of macros with live feedback
For a while now, I have been seeing discussions about the multiple cursors feature only in the context of replacing words. Especially when people mention multiple cursors in 500 bytes of Vimscript! blogpost and there is even a cool-substitute plugin (nice work btw.) in which readme we can read: "Can easily replace multiple-cursors". I don't know how all people work. The word substitution may be the primary and most common feature of MC, but it is also the least useful one. MC shines when it comes to writing small macros (for big things, I still prefer the real vim macros). I have real-time visual feedback - no more fixing or rerecording broken macros - and I can even use autocompletion during it.
- New Plugin: cool-substitute
What are some alternatives?
vim-cutlass - Plugin that adds a 'cut' operation separate from 'delete'
live-command.nvim - Easily create previewable commands in Neovim.
vim-mark - Highlight several words in different colors simultaneously.
vim-visual-multi - Multiple cursors plugin for vim/neovim
flash.nvim - Navigate your code with search labels, enhanced character motions and Treesitter integration
neovim - Vim-fork focused on extensibility and usability
range-highlight.nvim - An extremely lightweight plugin (~ 120loc) that hightlights ranges you have entered in commandline.
vis - A vi-like editor based on Plan 9's structural regular expressions
telescope-command-palette.nvim - Create key-bindings and watch them with telescope :telescope:
mc.nvim
nvim-neoclip.lua - Clipboard manager neovim plugin with telescope integration
mini.ai - Neovim Lua plugin to extend and create `a`/`i` textobjects. Part of 'mini.nvim' library.