Configs
vim-ReplaceWithRegister
Configs | vim-ReplaceWithRegister | |
---|---|---|
1 | 8 | |
4 | 73 | |
- | - | |
8.2 | 1.8 | |
about 2 months ago | almost 3 years ago | |
Lua | Vim Script | |
- | - |
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.
Configs
-
Are there plugins for Neovim that don't exist, that should exist, in your opinion?
Here is how an evolved setup might look like.
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?
textobj-word-column.vim - Adds text-objects for word-based columns in Vim.
vim-easyclip - Simplified clipboard functionality for Vim
vim-visualrepeat - Repeat command extended to visual mode.
vim-cutlass - Plugin that adds a 'cut' operation separate from 'delete'
smartyank.nvim
vim-visual-multi - Multiple cursors plugin for vim/neovim
vim-textobj-pastedtext - A convenient text object for last pasted text
range-highlight.nvim - An extremely lightweight plugin (~ 120loc) that hightlights ranges you have entered in commandline.
mini.nvim - Library of 35+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort
vim-stamp - A vim plugin that replaces the currently selected text with the text in the delete register
vim-gitgutter - A Vim plugin which shows git diff markers in the sign column and stages/previews/undoes hunks and partial hunks.
telescope-command-palette.nvim - Create key-bindings and watch them with telescope :telescope: