pear-tree
vim-unimpaired
pear-tree | vim-unimpaired | |
---|---|---|
7 | 52 | |
389 | 3,226 | |
- | - | |
0.0 | 0.0 | |
over 4 years ago | 8 months ago | |
Vim Script | Vim Script | |
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.
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.
vim-unimpaired
-
Alternative to vim-textmanip plugin? (move selected blocks of text)
I don't think it moves blocks, but I utilize the venerable vim-unimpaired for basic text movement (and for inserting empty lines from normal mode).
-
How to create a line downwards without changing location of cursor?
vim-unimpaired gives a mapping for that for ] (and [ to insert an empty lines above the cursor).
-
what does o and O really do?
I use https://github.com/tpope/vim-unimpaired for this.
-
Install vim plugin (for XML/HTML encode/decode)
Is it possible to install a Vim plugin (like https://github.com/tpope/vim-unimpaired/tree/master)?
-
What do you really use to steer the cursor?
HJKL for movement, then mapped arrow keys to this (requires unimpaired): " Normal mode: indent or move line nmap [e nmap ]e nmap << nmap >> " Visual mode: indent or move selection vmap [egv vmap ]egv vmap >gv
-
LPT: RTFM. I routinely find something useful every time I read not only what I was looking for, but also something adjacent
Just now I was looking at the manual entry for vim-unimpaired, since I couldn't remember the incantation for swapping two lines. (It's ]e and [e for swap forward and swap backward.)
-
How do you manage buffers ?
Switch buffers with :b or the ]b [b bindings from unimpaired.
-
Markdown syntax + conceal on `.md` files
and a nice toggle remap that I found here to edit Markdown without conceal: vim.keymap.set("n", "tc", ":setlocal =&conceallevel ? 'conceallevel=0' : 'conceallevel=2'", { desc = "[T]oggle [C]onceallevel"} )
-
Using preconfigured distro vs rolling your own config
imo there are even few plugin authors who actually understand this well, and certainly no distro author does. Some of the few examples of good "vim philosophy" plugins are vim-sneak and vim-unimpaired.
-
Which vim plugins do not have a lua equivalent yet?
https://github.com/tpope/vim-unimpaired. I still use it a lot and it’s one of the few remaining vimscript plug-ins I have. It is also quite slow to load. It would be fantastic to have a Lua equivalent.
What are some alternatives?
nvim-autopairs - autopairs for neovim written in lua
miryoku - Miryoku is an ergonomic, minimal, orthogonal, and universal keyboard layout.
lexima.vim - Auto close parentheses and repeat by dot dot dot...
nvim-bqf - Better quickfix window in Neovim, polish old quickfix window.
auto-pairs - Vim plugin, insert or delete brackets, parens, quotes in pair
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
surround.nvim - A surround text object plugin for neovim written in lua.
better-escape.vim - A Vim/Neovim plugin for escaping insert mode without lagging.
nvim-compe - Auto completion Lua plugin for nvim
vim-fugitive - fugitive.vim: A Git wrapper so awesome, it should be illegal
pears.nvim - Auto pair plugin for neovim
coc-tsserver - Tsserver extension for coc.nvim that provide rich features like VSCode for javascript & typescript