nvim-autopairs
pear-tree
Our great sponsors
nvim-autopairs | pear-tree | |
---|---|---|
53 | 7 | |
2,823 | 389 | |
- | - | |
7.4 | 0.0 | |
12 days ago | over 4 years ago | |
Lua | Vim Script | |
MIT License | 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.
nvim-autopairs
-
nvim-autopairs getting out of a pair with tab
I would like to be able to jump out of a pair generated by nvim-autopairs (https://github.com/windwp/nvim-autopairs) using a Tab. To me it is impossible to get out of the habit of using tab for it, as placing an autopair looks and feel like a snippet, and I typically move out of a snippet with a tab.
-
Noobie Needs a Nudge
A couple nice quality of life plugins would be: Comment (which lets you use a keybinding to comment/uncomment things), Autopairs (which will make the paired brackets/parentheses/etc.), and Rainbow2 (which color-matches the pairs if things like parentheses).
-
Set it and forget it plugins?
abecodes/tabout.nvim windwp/nvim-autopairs
-
mini.files - navigate and manipulate file system (with column view and editing text)
As an example, I give a slight edge to windwp/nvim-autopairs because it can turn 'test' into {'test'} just by pressing { instead of me having to use surround with something like gzaa'{
-
What's your solution to move between " "?
autopairs has worked for me
- Pair autoclose plugin
-
When pressing completing the suggestion for a method using `cmp` and `LSP`, is possible to have the arguments in the the completion?
I think I have two plugins that affect this -- nvim-autopairs and cmp
-
How to add "|" to auto-pairs for it to be automatically paired-up with another "|"?
For Rust closures, I'd like to have an autopair for "|" -- any idea how to actually add that to the nvim-autopairs plugin? (https://github.com/windwp/nvim-autopairs) This plugin has a lot of fancy stuff I do not need, but I'm not sure how to do this very basic thing.
- Awkwardness when typing in '\n' or '\t' or (...) [...] etc. -- (Have others noticed this too?) -- (is there a better way?)
-
Issue with adding rule in nvim-autopairs
Having trouble with nvim-autopairs. I'm trying to define a rule for automatically closing $ in .tex files, but I keep getting this error
pear-tree
-
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.
What are some alternatives?
nvim-ts-closetag - Use treesitter to auto close and auto rename html tag
lexima.vim - Auto close parentheses and repeat by dot dot dot...
vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease
auto-pairs - Vim plugin, insert or delete brackets, parens, quotes in pair
completion-nvim - A async completion framework aims to provide completion to neovim's built in LSP written in Lua
surround.nvim - A surround text object plugin for neovim written in lua.
nvim-treesitter - Nvim Treesitter configurations and abstraction layer
nvim-compe - Auto completion Lua plugin for nvim
emmet-ls - Emmet support based on LSP.
pears.nvim - Auto pair plugin for neovim
vim-python-pep8-indent - A nicer Python indentation style for vim.
vim-unimpaired - unimpaired.vim: Pairs of handy bracket mappings