ReplaceWithSameIndentRegister
vim-exchange
ReplaceWithSameIndentRegister | vim-exchange | |
---|---|---|
1 | 14 | |
9 | 740 | |
- | - | |
10.0 | 2.3 | |
over 9 years ago | 3 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-exchange
-
Trying to write an editor plugin / tool to swap arguments (something like vim-sexp but for haskell)
I use the vim-exchange plugin.
-
swap words according to pattern
not sure that would be the best solution. I would use https://github.com/tommcdo/vim-exchange like this cxiwWW..
-
Maccy 0.26
It cannot. I sometimes need this feature but I just use an editor plugin (https://github.com/tommcdo/vim-exchange) for this..
-
mini.basics - Common configuration presets for options/mappings/autocommands
A bit of a feedback: - I've never really studied quickfix/loclist capabilities much until recently during writing a slightly updated version of :cnext/:cprev. It is indeed a very nice feature, albeit with a lot of "old Vim" presence to it. The 'fzf.vim' and 'telescope.nvim' were always enough for me. Now I have a small hope of trying to make a "poor man Telescope". - Never really understood the utility of 'vim-subversive'. It seems to be very similar to :s or "Visually select -> hit * -> cgn -> dot repeat until needed". - There is a MiniMisc.zoom() as an alternative to 'vim-maximizer'. - I use 'vim-argwrap' myself and do plan to do its analogue. Although hope to make a more or less simple function in 'mini.misc' instead of the whole module. - I did use 'sideways.vim' but replaced it with combination of "argument" textobject from 'mini.ai' and tommcdo/vim-exchange (which I do plan to rewrite, but not quite soon). Here is how (cxia + cxila; exchange "inner argument" with "last inner argument"). Far from perfect, but works most of the time. - I had 'undotree' in my installed plugins for more than a year and I've never really used it. I've seen an idea here, I think, about "straightening" undo history to become a single line instead of a tree. I currently like this idea better than 'undotree'. - Yes, something with "toggle bools" as functionality might be coming. But not very soon.
-
Switch position of function argument using IdeaVim in pycharm
I'm using https://github.com/tommcdo/vim-exchange in Vim.
-
Swapping words
Yeah, I use sideways.vim and vim-exchange. (Not entirely sure which solves what OP is asking about.)
- What is the coolest, unknown(-ish) plugin that you're using that other people could benefit from?
-
Paste a word without losing the yank buffer
For vim users tommcdo/vim-exchange cxiw jump to another word then press dot
-
How to switch the words on either side of dashes?
I use vim-exchange for situations like this. Old plugin, but still works fine. You visually select one side, press X, visually select the other side and press X. You can also use cx{motion}, and cx{motion} again if you don't want to use visual mode.
- How many plugins do you use on a daily basis and what are they?
What are some alternatives?
dirbuf.nvim - A file manager for Neovim which lets you edit your filesystem like you edit text
vim-sandwich - Set of operators and textobjects to search/select/edit sandwiched texts.
dial.nvim - enhanced increment/decrement plugin for Neovim.
vim-swap - Reorder delimited items.
nvim-bufdel - A Neovim plugin to improve buffer deletion
traces.vim - Range, pattern and substitute preview for Vim
vim-search-pulse - Easily locate the cursor after a search
vim-subversive - Vim plugin providing operator motions to quickly replace text
vim-textobj-variable-segment - A text object to turn foo_bar_baz into foo_baz *and* quuxSpamEggs into quuxEggs *and* shine your shoes
vim-yoink - Vim plugin that maintains a yank history to cycle between when pasting
nvim-miniyank - killring-alike plugin for neovim and vim 8 with no default mappings
nvim-dap-ui - A UI for nvim-dap