vim-abolish
local_vimrc
Our great sponsors
vim-abolish | local_vimrc | |
---|---|---|
17 | 5 | |
2,669 | 125 | |
- | - | |
3.3 | 1.8 | |
7 months ago | over 3 years ago | |
Vim Script | Vim Script | |
- | GNU General Public License v3.0 only |
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?
local_vimrc
-
How can I have a local .vimrc file that is used only inside a certain directory?
Other approaches are available as well. For instance, autocommands in the .vimrc are possible as well, but every time you move around that directory you'd have to update the autocommand.
-
What is the best config/setup/plugins for C development in Vim?
Regarding project management, .exrc is enough as long we're working on simple project where everything is in the same directory. On real project I've ended up needing and writing much, much more.
-
manual ctags with vim-gutentags or similar
buffer wise, from a local vimrc for instance, with let b:tag_options = { 'no_auto': 0}
-
search and replace camelCase to snake_case
snake is one of the possible naming policies. Several are hard-coded: snake, UpperCamelCase, lowerCamelCase, SCREAMING_SNAKE_CASE. Other can be configured (in local vimrc plugins for instance), and then used where we can expect it to make sense: member variables, local variables, static variables, types, getter...
-
A per project vimrc based on direnv
I'm not sure about the new plugin advertised, but 'exrc' is restricted to the current directory. Its settings won't be applied to subdirectories -- unlike to what other localvimrc plugins do
What are some alternatives?
abbrev-man.nvim - 🍍 A NeoVim plugin for managing vim abbreviations.
vimrc - The ultimate Vim configuration (vimrc)
neovim - Vim-fork focused on extensibility and usability
lh-tags - ctags base updating, and browsing from vim
hunspell - The most popular spellchecking library.
cquery - C/C++ language server supporting multi-million line code base, powered by libclang. Emacs, Vim, VSCode, and others with language server protocol support. Cross references, completion, diagnostics, semantic highlighting and more
spellsitter.nvim - Treesitter powered spellchecker
clang_complete - Vim plugin that use clang for completing C/C++ code.
typos - Source code spell checker
Vim - The official Vim repository
lh-style - Vim Script library providing stylistic related functions
lh-misc