ReplaceWithRegister
vim-subversive
Our great sponsors
ReplaceWithRegister | vim-subversive | |
---|---|---|
8 | 13 | |
310 | 291 | |
- | - | |
10.0 | 2.8 | |
almost 9 years ago | 4 months ago | |
VimL | Vim Script | |
- | MIT 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.
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
vim-subversive
-
mini.basics - Common configuration presets for options/mappings/autocommands
vim-subversive: a proper replace operator, one of the most important plugins if you ask me
-
Vim newbie here, could you share your intuitive mappings?
Remapping $ and ^ is just weird, those have already very nice mnemonics coming from regular expressions. And s for substitute, wait until you find out about things like https://github.com/svermeulen/vim-subversive
-
What is one key map you use that you don't understand how other Vim users live without?
![Vim-subversive](https://github.com/svermeulen/vim-subversive) is a plugin that basically exposes a functionality where you can replace a text object with something in a register.
-
neovim plugins that have improved your workflow
vim-subversive/substitute.nvim
-
Replace all occurrences of a word - best way?
You might also consider using [vim-subversive](https://github.com/svermeulen/vim-subversive) which simplifies search and replace
-
How do i avoid replacing the content of my clipboard when pasting on selected text ?
I recommend subversive. It's a feature I use every day https://github.com/svermeulen/vim-subversive
-
mapping to make use of f and t
Check out https://github.com/svermeulen/vim-subversive . It can recreate your configuration with: nmap s (SubversiveSubstitute)
- Lightspeed Neovim
- Help trying to break a bad habit
-
Wrap code block in {}
personally I use https://github.com/svermeulen/vim-subversive with use s and it's pretty useful
What are some alternatives?
nvim-scrollbar - Extensible Neovim Scrollbar
vim-exchange - Easy text exchange operator for Vim
vim-easymotion - Vim motions on speed!
evil-ReplaceWithRegister - Port of vim plugin ReplaceWithRegister
YankAssassin.vim - Don't let the cursor move while Yanking in Vim/Neovim
vim-yoink - Vim plugin that maintains a yank history to cycle between when pasting
targets.vim - Vim plugin that provides additional text objects
vim-sandwich - Set of operators and textobjects to search/select/edit sandwiched texts.
vim-cool - A very simple plugin that makes hlsearch more useful.
vim-cutlass - Plugin that adds a 'cut' operation separate from 'delete'
vim-searchx - The extended search motion.
easypick.nvim - A neovim plugin that lets you easily create Telescope pickers from arbitrary console commands