ReplaceWithSameIndentRegister
switch.vim
ReplaceWithSameIndentRegister | switch.vim | |
---|---|---|
1 | 6 | |
9 | 639 | |
- | - | |
10.0 | 3.6 | |
over 9 years ago | 8 months ago | |
VimL | Ruby | |
- | 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.
ReplaceWithSameIndentRegister
-
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.
switch.vim
-
Toggle markdown checkbox
There is also a more general plugin for swtching any statement in any filetype https://github.com/AndrewRadev/switch.vim.
-
New Plugin: boole.nvim โ Toggle booleans, cycle days of the week, etc. with <C-a> and <C-x>
Cool! Seems to fill a similar space as https://github.com/AndrewRadev/switch.vim .
-
What is the coolest, unknown(-ish) plugin that you're using that other people could benefit from?
Switch.vim makes pretty easy to quick switch between definitions of something. I use it a lot to manage a list of to-dos while I'm working and quick switch between "TODO", "DOING" and "DONE"
-
nvim-toggler: invert words with two keystrokes
There is also switch.vim which has been around for a decade and a few other alternatives mentioned in the readme which are even older.
-
FAVOURITE PLUGINS
- https://github.com/andrewradev/switch.vim
-
Alternate Toggler - A very small plugin for toggling "boolean" values.
Works well for the simple usecase it tries to solve. If somebody wants even more customisability with the ability to define much more complex patterns then https://github.com/AndrewRadev/switch.vim is an alternative. It can also cycle through a list instead of just toggling between two values.
What are some alternatives?
dirbuf.nvim - A file manager for Neovim which lets you edit your filesystem like you edit text
focus.nvim - Auto-Focusing and Auto-Resizing Splits/Windows for Neovim written in Lua. A full suite of window management enhancements. Vim splits on steroids!
dial.nvim - enhanced increment/decrement plugin for Neovim.
eyeliner.nvim - ๐ Move faster with unique f/F indicators.
nvim-bufdel - A Neovim plugin to improve buffer deletion
sideways.vim - A Vim plugin to move function arguments (and other delimited-by-something items) left and right.
vim-search-pulse - Easily locate the cursor after a search
splitjoin.vim - Switch between single-line and multiline forms of code
vim-textobj-variable-segment - A text object to turn foo_bar_baz into foo_baz *and* quuxSpamEggs into quuxEggs *and* shine your shoes
no-clown-fiesta.nvim - A dark gray colorscheme
nvim-miniyank - killring-alike plugin for neovim and vim 8 with no default mappings
toggle-bool - vim plugin to toggle the boolean values