ReplaceWithRegister
Replace text with the contents of a register. (by vim-scripts)
targets.vim
Vim plugin that provides additional text objects (by wellle)
ReplaceWithRegister | targets.vim | |
---|---|---|
8 | 48 | |
310 | 2,512 | |
- | - | |
10.0 | 0.0 | |
almost 9 years ago | 6 months ago | |
VimL | Vim Script | |
- | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
ReplaceWithRegister
Posts with mentions or reviews of ReplaceWithRegister.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-09.
- 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
targets.vim
Posts with mentions or reviews of targets.vim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-01.
-
How to move really efficiently in Vim?
targets is nice too.
-
Two Weeks into Vim: A Transformation
The thing that has the biggest impact on me is ci”, ca”, da”, etc.. so I suggested getting used to using those.. and then you can get more pedantic with it using https://github.com/wellle/targets.vim
-
Is there a shorcut to select words in quotes including the quotes?
I do recommend getting, targets.vim https://github.com/wellle/targets.vim .. which unlocks the n(ext) and l(ast) verbs(?) ..ahhhh it’s REALLY REALLY good, I use 2in” like a lot
-
Text-object selection works forward, but not backwards, and I'm curious about that
In fact, as /u/Chillbrosaurus_Rex points out, there's a plugin, targets.vim, that expands on Vim's built-in text objects, and one of the things it does is to provide this kind of forward and reverse direction functionality.
- Installing argtextobj.vim
- How to delete inside backtick pairs, e.g JS template strings.
-
neovim plugins that have improved your workflow
Hey, I use targets.vim, how does it compare with that?
-
Leap.nvim: Neovim’s Answer to the Mouse
You might benefit from targets.vim, it works well with your thought process. It adds a bunch of new really useful editing targets (which should be builtin imo).
https://github.com/wellle/targets.vim
-
Is there a textobject for `object.` in `object.property.another`?
Thanks for the through explanation. I has seen that and considered using it in the past. Can I ask how it compares to https://github.com/wellle/targets.vim? Would you consider mini.ai a replacement or complementary?
-
Why does ci" work from elsewhere on a line, but it doesn't for ci[ , ci{ ?
This is provided by targets.vim, along with a bunch of other useful text objects.
What are some alternatives?
When comparing ReplaceWithRegister and targets.vim you can also consider the following projects:
nvim-scrollbar - Extensible Neovim Scrollbar
nvim-treesitter-textobjects
vim-subversive - Vim plugin providing operator motions to quickly replace text
wilder.nvim - A more adventurous wildmenu
YankAssassin.vim - Don't let the cursor move while Yanking in Vim/Neovim
todoist.nvim - A todoist extension for neovim
vim-easymotion - Vim motions on speed!
Neovim-from-scratch - 📚 A Neovim config designed from scratch to be understandable
vim-cool - A very simple plugin that makes hlsearch more useful.
harpoon
vim-searchx - The extended search motion.
paq-nvim - 🌚 Neovim package manager
ReplaceWithRegister vs nvim-scrollbar
targets.vim vs nvim-treesitter-textobjects
ReplaceWithRegister vs vim-subversive
targets.vim vs wilder.nvim
ReplaceWithRegister vs YankAssassin.vim
targets.vim vs todoist.nvim
ReplaceWithRegister vs vim-easymotion
targets.vim vs Neovim-from-scratch
ReplaceWithRegister vs vim-cool
targets.vim vs harpoon
ReplaceWithRegister vs vim-searchx
targets.vim vs paq-nvim