vim-abolish
vim-surround
Our great sponsors
vim-abolish | vim-surround | |
---|---|---|
17 | 83 | |
2,677 | 13,017 | |
- | - | |
3.3 | 0.0 | |
7 months ago | 10 months ago | |
Vim Script | 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.
vim-abolish
-
How to search and replace inside current workdir like vscode
Additionally, I use vim-abolish[https://github.com/tpope/vim-abolish] with the Subvert command to maintain the case.
-
Custom code automation.
Alternatively, you could use vsvim and write a vim macro to do it, but that's a whole other rabbit hole to go down. The vim-abolish plugin should do the trick...
-
Preview for vim-abolish?
tpope/vim-abolish provides a useful :Subvert command that works like a smart substitution. Is it possible to preview the command's effects just like for the built-in substitution command?
-
what vimL plugins are you still using?
tpope/vim-abolish: Some text manipulation stuff.
-
How to extend refactor for better integration for React?
https://github.com/tpope/vim-abolish might be able to do this (I dont use it myself)
-
What are your must-have vim/nvim extensions?
tpope/tpope-vim-abolish - Sane search/replace
-
Show HN: Vim Reference Guide
The best thing about Vim is that you don't have to choose between Vim and an IDE! Any text editor or IDE that's even moderately popular will probably have a decent Vim plugin. The only downside is that you generally won't have access to Vim plugins (abolish.vim is the one I find myself missing the most: https://github.com/tpope/vim-abolish).
Personally, I learned to use Vim via the VsVim plugin for Visual Studio.
-
A pragmatic approach to migrating from VSCode to Neovim
Indent-blankline to draw indentation guides, nvim-autopairs to automatically complete pairs of brackets and quotes (I didn’t know I couldn’t live without it), nvim-ts-autotag to autocomplete pairs of tags as well, targets.vim to target what is inside or outside the mentioned pairs and vim-surround to manage all those pairs with few keystrokes. Kommentary to comment and uncomment lines of code, nvim-cursorline to help locate where the cursor is and nvim-colorizer because I am cheeky. Vim-abolish is definitely an interesting one. I decided to install it because of its case coercion capabilities, but it can do much more than that.
-
Abbreinder - abbreviation reminder plugin
I create a lot of abbreviations, especially with vim-abolish. They're generally useful, but the problem is, they're hard to remember if I haven't used them in a while. To solve this problem I created a plugin, abbreinder.nvim, which reminds the user if they've typed the value of something that they could have used a pre-existing abbreviation for.
-
Case change
What are the advantages over vim-abolish?
vim-surround
-
Difftastic, a structural diff tool that understands syntax
I don't know what exactly you mean by pasting around the second selection, but you can paste selections, registers or even files at specific lines with some vim-fu. If it's generic enough you could write a function or even keyboard shortcut if it's very simple.
I have set ",',(,[,{ in visual mode to cut the selection insert the pairs then paste it back as a very hacky solution, but it gets the job done. If you want something more advanced to add or change anything around the selection tpope has solved that with vim-surround[1].
[1]: https://github.com/tpope/vim-surround
- Surround.vim: Delete/change/add parentheses/quotes/XML-tags with ease (2022)
-
Macro usage of replace
ysw https://github.com/tpope/vim-surround basically i surround the word with " So basically i wanted to surround the first word in line qoutes and then replace the first occurence of = with : Example:
-
Wrapping a range of lines in an html tag?
vim-surround is likely the plugin answer.
-
Quick Text Shortcuts?
If you have Tim Pope's vim-surround plugin, you can also add this to your Vimrc:
-
How do you manually install plugins
If you don't want to leverage Vim's package feature or you want to put your plugins in some other place, add the folder of the plugin to your :h 'runtimepath'. For example, if you download Tim Pope's vim-surround at ~\Documents\vim-surround, you should add this to your Vim configuration:
-
How to select multiple lines which are a 'component' quickly?
I'm using the vim-surround plugin by tPope and I know I can do ysw to surround words with whatever tag i want, I also know about cst (Change surrounding tag). But I'm wondering if there is a quick and easy way to wrap components. Some components might have closing tag and some components might not.
-
Is there anything like "vim-surround" built-in?
Is there any similar plugin to https://github.com/tpope/vim-surround?
-
ShadowVim embeds Neovim inside Xcode
Vim plugins (without UI) work out of the box. Hello vim-surround, argtextobj.vim and whatnot.
-
Vim function to move following word into parentheses?
If you don't insist on staying in insert mode then you can use vim-surround, which is perfect for this: yse
What are some alternatives?
abbrev-man.nvim - 🍍 A NeoVim plugin for managing vim abbreviations.
nvim-autopairs - autopairs for neovim written in lua
neovim - Vim-fork focused on extensibility and usability
vim-sandwich - Set of operators and textobjects to search/select/edit sandwiched texts.
hunspell - The most popular spellchecking library.
Neovim-from-scratch - 📚 A Neovim config designed from scratch to be understandable
spellsitter.nvim - Treesitter powered spellchecker
tabout.nvim - tabout plugin for neovim
typos - Source code spell checker
delimitMate - Vim plugin, provides insert mode auto-completion for quotes, parens, brackets, etc.
local_vimrc - Per project/tree configuration plugins
micro-editor - A modern and intuitive terminal-based text editor