vim-ReplaceWithRegister
substitute.nvim
vim-ReplaceWithRegister | substitute.nvim | |
---|---|---|
8 | 11 | |
73 | 452 | |
- | - | |
1.8 | 7.0 | |
almost 3 years ago | 6 months ago | |
Vim Script | Lua | |
- | 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.
vim-ReplaceWithRegister
-
Does macros get easier over time?
With https://github.com/inkarkat/vim-ReplaceWithRegister, yiqgllA,
-
Are there plugins for Neovim that don't exist, that should exist, in your opinion?
If you're into hidden gems: * This fixes repeat behaviour for all visual modes, like proper . in visual block. * This this provides a proper paste-over operator, working with all register types (text?,line,block).
-
Is there a way to delete lines without putting them in your 'Yank Buffer'?
My favourite solution to this is the ReplaceWithRegister plugin.
-
cursor-position after deleting text-objects
I would recommend this plugin to solve this kind of problems https://github.com/inkarkat/vim-ReplaceWithRegister
-
Favorite unfamous vim/neovim plugin?
Thanks a lot for this recommendation! This particular repo hasn't been updated since 2014, here is a more up-to-date version by the same author: https://github.com/inkarkat/vim-ReplaceWithRegister.
-
Easy way to yank and replace?
The best solution I've found to this is a plug-in called Replace with register, which maps to gr (mnemonic "go replace"). This lets you just do diw, move, griw.
-
Changing the copy buffer of yank and delete word
If you don't mind using plugins, take a look at vim-replace-with-register, which is designed to solve exactly this problem. It gives you a command, mapped to gr by default, which replaces the following text object with the contents of a register. So you can delete a word (daw), then move to a different word and replace it with the contents of the default register (graw).
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.
What are some alternatives?
vim-easyclip - Simplified clipboard functionality for Vim
vim-cutlass - Plugin that adds a 'cut' operation separate from 'delete'
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
range-highlight.nvim - An extremely lightweight plugin (~ 120loc) that hightlights ranges you have entered in commandline.
vim-stamp - A vim plugin that replaces the currently selected text with the text in the delete register
telescope-command-palette.nvim - Create key-bindings and watch them with telescope :telescope:
nvim-neoclip.lua - Clipboard manager neovim plugin with telescope integration