ReplaceWithRegister
vim-cutlass
ReplaceWithRegister | vim-cutlass | |
---|---|---|
8 | 14 | |
310 | 187 | |
- | - | |
10.0 | 0.0 | |
almost 9 years ago | over 1 year 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-cutlass
-
Is there a way to delete lines without putting them in your 'Yank Buffer'?
and the remappings suggested by [cutlass(https://github.com/svermeulen/vim-cutlass). I use the ones with "x" doing the "cutting".
-
Clipboard issue
You can use a plugin like https://github.com/svermeulen/vim-cutlass or remap those delete commands to go to the blackhole register. See http://vimcasts.org/blog/2013/11/registers-the-good-the-bad-and-the-ugly-parts/ for a complete explanation.
-
Favorite unfamous vim/neovim plugin?
svermeulen/vim-cutlass because I hate the yand-on-delete behavior. d to delete, m to cut. ("move")
-
Not cut the text, just delete. Config.
There is a plugin for this. It's actually tricky to do this without a plugin, since there are so many commands that clutter the " register on use, including every key in select mode.
-
How can I make spacemacs' evil mode not affect yank when using delete?
I wanted to know if there was an easy way to make spacemacs' evil mode not affect yank when using dd or similar delete commands so instead of "cut" it would "delete". But I still want the "clipboard" to be global. (So I can still copy/paste things in and out of spacemacs) Basically, I'm trying to achieve what this vim plugin does. Any ideas?
-
looking for a plugin
EasyClip or Cutlass?
-
Changing the copy buffer of yank and delete word
Or vim-cutlass - maybe extreme for a purist but it fits my mental model perfectly by making other operations (c cc d dd etc) delete to black hole and giving a new one for cut (eg m) - https://github.com/svermeulen/vim-cutlass
-
Is there a way to NOT save text into register, when doing change (cw, cc) commands?
Not Neovim specific, but I use cutlass to turn off this feature for most operations: https://github.com/svermeulen/vim-cutlass
-
Is there a way to disable all yank-on-delete behavior in nvim?
vim-cutlass is a simple plugin that does what you want. I have m (for "move") mapped to the default delete behavior (and use 'gm' for marks).
- Request: Only replace default register if what you deleted/cut has content.
What are some alternatives?
nvim-scrollbar - Extensible Neovim Scrollbar
vim-yoink - Vim plugin that maintains a yank history to cycle between when pasting
vim-subversive - Vim plugin providing operator motions to quickly replace text
nvim-hclipboard - Hijack your clipboard in Neovim
YankAssassin.vim - Don't let the cursor move while Yanking in Vim/Neovim
substitute.nvim - Neovim plugin introducing a new operators motions to quickly replace and exchange text.
vim-easymotion - Vim motions on speed!
nvim-tetris - Bringing emacs' greatest feature to neovim - Tetris!
targets.vim - Vim plugin that provides additional text objects
vim-ReplaceWithRegister - Replace text with the contents of a register.
vim-cool - A very simple plugin that makes hlsearch more useful.
vim-peekaboo - :eyes: " / @ / CTRL-R