1
0
mirror of https://github.com/amix/vimrc synced 2025-06-16 01:25:00 +08:00

Updated plugins

This commit is contained in:
Amir Salihefendic
2018-09-24 21:40:17 -03:00
parent 6bd9eda8c3
commit a6b64938eb
199 changed files with 2897 additions and 980 deletions

View File

@ -20,12 +20,12 @@ Snippet engines supporting vim-snippets
There are different forks of snippet engines which allow the user to insert
snippets by typing the name of a snippet hitting the expansion mapping.
- [github.com/SirVer/ultisnips](https://github.com/SirVer/ultisnips):
- [github.com/SirVer/ultisnips][7]:
python, supports all snippets in this repo.
- [github.com/garbas/vim-snipmate](https://github.com/garbas/vim-snipmate):
- [github.com/garbas/vim-snipmate](https://github.com/garbas/vim-snipmate):
VimL, snipmate-snippets, engine sometimes behaves strange. Supports
snippets/*
- [github.com/Shougo/neosnippet](https://github.com/Shougo/neosnippet.vim):
- [github.com/Shougo/neosnippet](https://github.com/Shougo/neosnippet.vim):
VimL, supports snippets/* with some configuration.
- [github.com/drmingdrmer/xptemplate](https://github.com/drmingdrmer/xptemplate):
Totally different syntax, does not read snippets contained in this file, but
@ -39,17 +39,16 @@ UltiSnips has additional features such as high speed, nesting snippets,
expanding snippets in snippets and offers powerful transformations on text in
snippets (like visual selections or placeholder texts).
Which one to use? If you have python give
[SirVer/ultisnips](https://github.com/SirVer/ultisnips) a try because its fast
and has the most features.
Which one to use? If you have python give [SirVer/ultisnips][7] a try because
its fast and has the most features.
If you have VimL only (vim without python support) your best option is using
[garbas/vim-snipmate](https://github.com/garbas/vim-snipmate) and cope with the
minor bugs found in the engine.
Q: Should "snipMate be deprecated in favour of UltiSnips"?
**Q**: Should snipMate be deprecated in favour of UltiSnips?
A: No, because snipMate is VimL, and UltiSnips requires Python.
**A**: No, because snipMate is VimL, and UltiSnips requires Python.
Some people want to use snippets without having to install Vim with Python
support. Yes - this sucks.
@ -83,15 +82,15 @@ For more see the UltiSnips docs (`:help UltiSnips`).
Installation
------------
First be aware that there are many options, see "Snippet engines" above.
Second be aware than there are [tons of plugin managers](http://vim-wiki.mawercer.de/wiki/topic/vim%20plugin%20managment.html)
which is why Marc Weber thinks that it doesn't make sense to repeat the same
repetitive information everywhere.
First be aware that there are many options, see "Snippet engines" above. Second
be aware than there are [tons of plugin managers][8] which is why Marc Weber
thinks that it doesn't make sense to repeat the same repetitive information
everywhere.
*Recommended way:*
[vim-addon-manager](https://github.com/MarcWeber/vim-addon-manager) (because Marc Weber wrote it for exactly
this reason, it supports simple dependency management). E.g. you're done by this
line in your `.vimrc`:
The recommended way to install these snippets is by using
[vim-addon-manager][9]. Marc Weber wrote it for exactly this reason, it
supports simple dependency management. E.g. all you need is this line in your
`.vimrc`:
```vim
" assuming you want to use snipmate snippet engine
@ -101,20 +100,18 @@ ActivateAddons vim-snippets snipmate
[vim-pi](https://bitbucket.org/vimcommunity/vim-pi/issue/90/we-really-need-a-web-interface)
Is the place to discuss plugin managers and repository resources.
About how to install snipMate see [snipmate@garbas](https://github.com/garbas/vim-snipmate)
For snipMate installation instructions, please see [snipmate@garbas][1].
(Bundle, Pathogen, git clone - keywords to make people find this link by ctrl-f search)
I know that I should be reading the docs of the snippet engine, just let me copy paste into my `.vimrc`:
[See this pull request](https://github.com/honza/vim-snippets/pull/307/files).
Pull requests adding installation instructions for Pathogen, Bundle, git clone,
etc. are welcome and much appreciated.
TROUBLE
=======
Getting help
------------
If you still have trouble getting this to work create a GitHub ticket, ask on
IRC or the mailing list.
If you still have trouble getting this to work, please create a GitHub issue.
Policies / for contributors
---------------------------
Things to consider when contributing
------------------------------------
Some snippets are useful for almost all languages, so let's try to have the same
triggers for them:
@ -177,7 +174,7 @@ so that all users can benefit from them. People can list their snippet reposito
Installation using VAM: https://github.com/MarcWeber/vim-addon-manager
Future - ideas - examples
Future ideas and examples
-------------------------
[overview snippet engines](http://vim-wiki.mawercer.de/wiki/topic/text-snippets-skeletons-templates.html)
@ -252,3 +249,5 @@ terms of the MIT license.
[3]: http://github.com/garbas
[4]: http://github.com/garbas/vim-snipmate
[7]: http://github.com/SirVer/ultisnips
[8]: http://vim-wiki.mawercer.de/wiki/topic/vim%20plugin%20managment.html
[9]: https://github.com/MarcWeber/vim-addon-manager