ReplaceWithSameIndentRegister
vim-cool
ReplaceWithSameIndentRegister | vim-cool | |
---|---|---|
1 | 24 | |
9 | 499 | |
- | - | |
10.0 | 2.0 | |
over 9 years ago | 8 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.
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.
vim-cool
-
auto-hlsearch.nvim: Automatically manage hlsearch
Awesome! Is it like vim-cool but written in Lua?
-
How do you turn off the yellow highlighting after your done with the search?
I use https://github.com/romainl/vim-cool to do it automatically
-
How can I make searching for an empty string actually execute :let @/=""
You can try this plugin: https://github.com/romainl/vim-cool
- Good vim keymaps
-
What is the coolest, unknown(-ish) plugin that you're using that other people could benefit from?
vim-cool Not sure if there's an easier way to do it than having this plugin, but it disables search highlighting when you're done, and enables again when you search again. Makes me not have to use `:noh`
- set nohlsearch when pressing anything except n or N?
-
Call :noh command at InsertEnter autocmd
You may be interested in the vim-cool plugin, which uses InsertEnter and CursorMoved autocmds to automatically disable search highlighting after you're done with the search.
-
Disable highlight after searching something?
I have heard nice things about vim-cool
-
What are your must-have vim/nvim extensions?
romainl/vim-cool - Disables search highlights after using. Minor but nice.
- What are some of the unique functions you use in your .vimrc?
What are some alternatives?
dirbuf.nvim - A file manager for Neovim which lets you edit your filesystem like you edit text
FiraCode - Free monospaced font with programming ligatures
dial.nvim - enhanced increment/decrement plugin for Neovim.
vim-sensible - sensible.vim: Defaults everyone can agree on
nvim-bufdel - A Neovim plugin to improve buffer deletion
vim-visual-multi - Multiple cursors plugin for vim/neovim
vim-search-pulse - Easily locate the cursor after a search
firenvim - Embed Neovim in Chrome, Firefox & others.
vim-textobj-variable-segment - A text object to turn foo_bar_baz into foo_baz *and* quuxSpamEggs into quuxEggs *and* shine your shoes
novim-mode - Plugin to make Vim behave more like a 'normal' editor
nvim-miniyank - killring-alike plugin for neovim and vim 8 with no default mappings
golden-ratio - Automatic resizing of Vim windows to the golden ratio