pear-tree
A Vim auto-pair plugin that supports multi-character pairs, intelligent matching, and more (by tmsvg)
surround.nvim
A surround text object plugin for neovim written in lua. (by blackCauldron7)
pear-tree | surround.nvim | |
---|---|---|
7 | 3 | |
389 | 279 | |
- | - | |
0.0 | 6.9 | |
over 4 years ago | about 2 years ago | |
Vim Script | Lua | |
MIT License | - |
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.
pear-tree
Posts with mentions or reviews of pear-tree.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-02.
-
Transitioning from fzf.vim to Telescope
After some digging, it turned out the problem was caused by the plugin tmsvg/pear-tree. The solution outlined here worked for me.
-
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?
https://github.com/tmsvg/pear-tree (the one I use)
-
The curse of strong typing by fasterthanlime
In general, having an LSP update the document at unexpected times is problematic for me (especially when the document being checked at random times leads to big flickers of temporary syntax error worse than what I installed pear-tree to reduce from typing things like quotes).
-
What are your must-have vim/nvim extensions?
tmsvg/pear-tree for an extensible autocloser (I hate closing GHC {-# LANGUAGE ... #-} myself, and it's not built into any of the common plugins AFAIK)
-
When to switch to normal mode while writing in vim
Most pair matching plugins will let you type the closing brackets explicitly, and skip over them if they're already there. For instance, in pear-tree you'll want to enable Smart Pairing. So that's the easiest answer to your question. If your current plugin doesn't support that sort of behavior, I'd suggest finding one that does; it makes things so much nicer!
-
Which new Neovim pairing plugin do you prefer: nvim-autopairs or pears.nvim?
Myself, I have been and continue to be a pear-tree user. Works reasonably well, but it does seem to be an abandoned plugin these days. Though I do like that pear-tree has tag pairing support in addition to traditional bracket pairing.
-
How can I correctly map compe#confirm() with jiangmao/auto-pairs?
I know this is not the answer you're looking for, but I have tried a lot of auto pairs like plugins and I always have had problems with any of them. This week tried Lexima instead of https://github.com/tmsvg/pear-tree, and I must admit that Lexima is pretty cool. You could try with Lexima and see if it fits your needs.
surround.nvim
Posts with mentions or reviews of surround.nvim.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-01.
-
Can someone add vim-repeat capability to surround.nvim? I'm not the owner.
I'm not the owner of the surround.nvim plugin but I like it a lot. It includes both vim sandwich and vim surround variants. It lacks the vim-repeat capability for vim surround variant. If anyone of you has the time & knowledge then please go contribute this project. I like it a lot and I need the vim-repeat functionality.
-
Plugin for adding brackets/parenthesis around selection?
There is https://github.com/blackCauldron7/surround.nvim
-
Which new Neovim pairing plugin do you prefer: nvim-autopairs or pears.nvim?
There’s also surround.nvim which I’ve been using
What are some alternatives?
When comparing pear-tree and surround.nvim you can also consider the following projects:
nvim-autopairs - autopairs for neovim written in lua
lexima.vim - Auto close parentheses and repeat by dot dot dot...
vim-sandwich - Set of operators and textobjects to search/select/edit sandwiched texts.
auto-pairs - Vim plugin, insert or delete brackets, parens, quotes in pair
pears.nvim - Auto pair plugin for neovim
nvim-compe - Auto completion Lua plugin for nvim
vim-unimpaired - unimpaired.vim: Pairs of handy bracket mappings
ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support
vim-fugitive - fugitive.vim: A Git wrapper so awesome, it should be illegal
vim-mundo - :christmas_tree: Vim undo tree visualizer
pear-tree vs nvim-autopairs
surround.nvim vs nvim-autopairs
pear-tree vs lexima.vim
surround.nvim vs vim-sandwich
pear-tree vs auto-pairs
surround.nvim vs pears.nvim
pear-tree vs nvim-compe
pear-tree vs pears.nvim
pear-tree vs vim-unimpaired
pear-tree vs ale
pear-tree vs vim-fugitive
pear-tree vs vim-mundo