lh-brackets
LH's bracketing system for vim (by LucHermitte)
auto-pairs
Vim plugin, insert or delete brackets, parens, quotes in pair (by jiangmiao)
lh-brackets | auto-pairs | |
---|---|---|
4 | 20 | |
52 | 4,066 | |
- | - | |
3.8 | 0.0 | |
3 months ago | 5 months ago | |
Vim Script | Vim Script | |
GNU General Public License v3.0 or later | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
lh-brackets
Posts with mentions or reviews of lh-brackets.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-08.
-
Skip over bracket plugins
As far as I know, all the bracket related plugins do that. This is at least the case of the one I'm maintaining (https://github.com/LucHermitte/lh-brackets) and of many others
-
Do you use auto close for parenthesis?
I've been using and maintaining my own solution for two decades I think now.
-
Does a "leader mode" plugin exist?
here a submode to change bracket pairs: https://github.com/LucHermitte/lh-brackets/blob/master/autoload/lh/brackets.vim#L1021
-
is there a auto pair plugin that wraps auto wrap line text?
lh-brackets does.
auto-pairs
Posts with mentions or reviews of auto-pairs.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-02-20.
-
How do I implement this effect in Neovim?
This plugin, jiangmiao/auto-pairs. Has a nice feature called Fly Mode where you can escape from any brace or quote with the ending pair no matter where you are while still being in INSERT mode. I'm trying to make this plugin work but having issues. Does anyone know how I can go about implementing this?
-
Favorite vimrc configs for coding?
Having said this, there are some useful language independent extensions: jiangmiao/auto-pairs, tpope/vim-commentary, preservim/tagbar, junegunn/vim-peekaboo
-
Making AutoPairs work with '< >'
You can load a plugin inside of your vimrc using the :runtime command. I'm assuming you're using https://github.com/jiangmiao/auto-pairs -- the initialization code for the plugin should be in plugin/auto-pairs.vim, so you can put this in your vimrc:
- Do vim users tend to enter insert mode and exit insert mode often in order to do simple movements using hjkl while writing? Or do you switch between arrow keys in insert mode and hjkl depending on what mode you're in?
-
oh, happy it ended
- packer instead of plug. it's written in lua and optimises - vim-autopairs instead of auto-pairs. it's written in lua + extremely important: it dosn't put pair of quotes if you're right before the word. it puts only one, so you don't have to manually delete second one -nvim-tree over nerdtree. it's written in lua, isn't this enough?)
- Skip over bracket plugins
-
"Unknown functions" called after deleting a plugin
I've recently switched from Pathogen to VimPlug and started installing new plugins. One of them was auto-pairs, which I promptly uninstalled. However, Vim looks for functions from this plugin when I try to type, preventing me from writing anything. For example, when I try pressing space, Vim complains about E117: Unknown function: AutoPairsSpace.
-
Vim: A Beginner's Guide From A Beginner
auto-pairs - completes your parentheses, brackets and quotes
-
Is it unorthodox to write java purely in Vim/CLI and not use an IDE?
Extra: for extra intellisense, you can use https://github.com/dense-analysis/ale (I don't - I like to stick to vanilla Vim as much as possible), https://github.com/ervandew/supertab (for completions using TAB instead of Ctrl-P), and https://github.com/jiangmiao/auto-pairs (automatic bracket insertion).
-
What is the best way to tab out?
If you're in normal mode, as people have already said, it's A. If you are in insert mode, there are a lot of possibilities with roughly the same cost. Vim has a few insert-mode movement commands, e.g. j goes down a line, but so far as I know there isn't one that helps you. The vim-rsi plugin gives you readline-type commands in insert mode, so if you had that you could do to jump to the end of the line. Another possibility with plugins is to have something like auto-pairs installed in which case just typing ) would do it.
What are some alternatives?
When comparing lh-brackets and auto-pairs you can also consider the following projects:
vim-close-pair - A Vim plugin to find last opening brace and insert corresponding closing brace
lexima.vim - Auto close parentheses and repeat by dot dot dot...
lh-vim-lib - Library of Vim functions
vim-rainbow - Rainbow brackets for Vim
nvim-libmodal - Create new "modes" for Neovim!
tabout.nvim - tabout plugin for neovim
lh-tags - ctags base updating, and browsing from vim
vim-closer - Closes brackets
vim-submode - Vim plugin: Create your own submodes
nvim-colorizer.lua - The fastest Neovim colorizer.
vim-libmodal - A Neo/vim plugin to create modes.
nvim-compe - Auto completion Lua plugin for nvim
lh-brackets vs vim-close-pair
auto-pairs vs lexima.vim
lh-brackets vs lh-vim-lib
auto-pairs vs vim-rainbow
lh-brackets vs nvim-libmodal
auto-pairs vs tabout.nvim
lh-brackets vs lh-tags
auto-pairs vs vim-closer
lh-brackets vs vim-submode
auto-pairs vs nvim-colorizer.lua
lh-brackets vs vim-libmodal
auto-pairs vs nvim-compe