vim-cutlass
vim-ReplaceWithRegister
vim-cutlass | vim-ReplaceWithRegister | |
---|---|---|
14 | 8 | |
187 | 73 | |
- | - | |
0.0 | 1.8 | |
over 1 year ago | almost 3 years ago | |
Vim Script | 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.
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.
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).
What are some alternatives?
vim-yoink - Vim plugin that maintains a yank history to cycle between when pasting
vim-easyclip - Simplified clipboard functionality for Vim
nvim-hclipboard - Hijack your clipboard in Neovim
vim-visual-multi - Multiple cursors plugin for vim/neovim
substitute.nvim - Neovim plugin introducing a new operators motions to quickly replace and exchange text.
range-highlight.nvim - An extremely lightweight plugin (~ 120loc) that hightlights ranges you have entered in commandline.
nvim-tetris - Bringing emacs' greatest feature to neovim - Tetris!
vim-stamp - A vim plugin that replaces the currently selected text with the text in the delete register
vim-peekaboo - :eyes: " / @ / CTRL-R
telescope-command-palette.nvim - Create key-bindings and watch them with telescope :telescope:
nvim-neoclip.lua - Clipboard manager neovim plugin with telescope integration
YankAssassin.vim - Don't let the cursor move while Yanking in Vim/Neovim