ultisnips VS vim-snippets

Compare ultisnips vs vim-snippets and see what are their differences.

ultisnips

UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips! (by SirVer)

vim-snippets

vim-snipmate default snippets (Previously snipmate-snippets) (by honza)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
ultisnips vim-snippets
64 17
7,425 4,741
- -
4.9 6.0
about 1 month ago about 1 month ago
Python Vim Snippet
GNU General Public License v3.0 only 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.

ultisnips

Posts with mentions or reviews of ultisnips. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-21.
  • LaTeX and Neovim for technical note-taking
    10 projects | news.ycombinator.com | 21 Feb 2024
    I always like people's LaTeX-based note taking setups. I'm a mathematician, so I write a lot of LaTeX too. (And I use vim, so I really like vim+Latex workflows).

    It's interesting that this post (or rather, the later post that discusses this) talks about the advantages of UltiSnips. The well-known vim-LaTeX posts written by Gilles Castel (RIP) relied pivotally on UltiSnips.

    It's not just that UltiSnips is a snippet engine. There are many of those (including LuaSnip, the other snippet engine mentioned in the OP series of articles). It's that UltiSnips can dispatch arbitrary expressions to short python code sections, and python has a great scientific library. For example, it's trivial to write a `sympy` snippet that will simplify or compute a given expression and write the output in latex for you.

    But UltiSnips works *terribly* with neovim [1] [2]. Why? Because UltiSnips uses python, and neovim's python interface is 100x slower than vim's python interface. There are design decisions for this and I'm not trying to say that neovim is bad. I use both vim and neovim. But I use vim+UltiSnips+vimtex for writing LaTeX.

    LuaSnip has interpolation too. I suppose it would be possible to write more code that calls from LuaSnip to a system like sympy (or other). But that's work. On the other hand, I think it takes a true power user to actually want or use the fancy interpolation functions.

    [1]: https://github.com/SirVer/ultisnips/issues/974

  • Looking for tutorials / Hello world projects to create Neovim plugins using Pynvim
    4 projects | /r/neovim | 10 Dec 2023
    I think in-the-wild examples like Ultisnips deoplete semshi (although they are advanced and somewhat complex) would also be good examples to learn how one can use python for writing plugins.
  • UltiSnips – Snippet Solution for Vim
    3 projects | news.ycombinator.com | 16 Aug 2023
  • lsp-zero v2.x is now available
    4 projects | /r/neovim | 23 Apr 2023
    I didn't know lsp-zero, but this integration seems just for me except for that I am using UltiSnips instead of luasnip. Just curious how difficult do you think it is to add UltiSnips integration along with cmp-nvim-ultisnips?
  • Minimalistic neovim/vim with batteries included ?
    4 projects | /r/neovim | 18 Apr 2023
  • How to solve this? (Ultisnippets plugin)
    1 project | /r/vim | 15 Mar 2023
  • Awkwardness when typing in '\n' or '\t' or (...) [...] etc. -- (Have others noticed this too?) -- (is there a better way?)
    4 projects | /r/vim | 17 Feb 2023
    If you use UltiSnips, you can just do this:
  • Vim + LaTeX
    4 projects | /r/vim | 11 Feb 2023
    Snipets or code completion can be done in a number of different ways, and how that is configured will depend on what method you use. In the blog he uses the vim plugin ultisnips. You'll find details on configuration for that in that link.
  • Python36.dll not found
    2 projects | /r/vim | 6 Jan 2023
    Heyo, I've been trying to get UltiSnips and YouCompleteMe to work, however, I've ran into a bit of a problem. The python36.dll library does not seem to exist for UltiSnips, and YouCompleteMe cannot locate python at all (screenshots at bottom).
  • SirVer/ultisnips: UltiSnips - The ultimate snippet solution for Vim. Send pull requests to SirVer/ultisnips!
    1 project | /r/devel | 1 Jan 2023

vim-snippets

Posts with mentions or reviews of vim-snippets. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-07.
  • How to I find default snippets
    3 projects | /r/neovim | 7 Mar 2023
  • JavaScript and CSS in HTML files
    4 projects | /r/neovim | 18 Dec 2022
    Also, I'm using vim-snipmate style snippets in LuaSnip. How can I import snippets in javascript.snippets in html.snippetswithout having to copy everything.
  • Can anybody give me some review of coq_nvim :>
    2 projects | /r/neovim | 3 Dec 2022
    cmp works fine and I was able to trivially make it only suggest lsp completion for me by only including lsp sources. The setup is significantly more complicated with having the install 7ish plugins instead of just 3 for coq. I don't think I would've had the patient to go through the setup when I was just starting to use neovim. cmp also have much nicer UI (e.g. it shoulds documentation and sometimes function signiture as you browse through the suggestion.) With snippet you can find something like https://github.com/honza/vim-snippets which have more than what I need. You also need to choose a snippet engine so that's more decision to make.
  • Closing brackets are highlighted in red when in the init.vim file
    9 projects | /r/neovim | 24 Nov 2022
  • Is There a Snippet Collection for LuaSnip?
    3 projects | /r/neovim | 29 Apr 2022
    Since LuaSnip also supports snipmate I'm using vim-snippets since it's offering a lot of snippets I'm using often without having to write my own. But as @eliizaak said: it's not Lua and perhaps I'll find the time and energy to learn a bit more about LuaSnip and write my own snippets ... ;)
  • Snippets
    3 projects | /r/neovim | 20 Feb 2022
    It includes the snippets from honza/vim-snippets and my own snippets.
  • Multiple templates for same filetype?
    4 projects | /r/vim | 17 Jan 2022
    vim-snippets as you've already mentioned.
  • Do Vim Snippets work in Obsidian?
    2 projects | /r/ObsidianMD | 24 Oct 2021
    Skimming over the blog post you linked, it appears that the author uses Vim plugins to get some of the snippets working, which I'm near-certain is impossible with the Vim features available to Obsidian. I don't think installing Vim plugins with vim-plug (as used by both myself and the author of the linked blog) is possible in Obsidian, for example. Without some way to manage installing Vim plugins, you won't be able to get plugins which enable vim snippets as used in the blog post.
  • [vimtex, vim-sandwich] How would you surround visual selected text with \emph{...} or \textbf{...} via a macro?
    2 projects | /r/vim | 24 Aug 2021
    Sorry does it?
  • How to automatically include C headers in vim?
    2 projects | /r/C_Programming | 29 Jul 2021
    Auto adding include files or a specific non-static function is generally a bad idea, but I use yasnippet on Emacs for copyright/licensing info, this seemingly has the same purpose but oriented towards vim users, which makes file templates trivial (on Emacs at least, I don’t usually use vim unless I can’t use Emacs or mg for some reason).

What are some alternatives?

When comparing ultisnips and vim-snippets you can also consider the following projects:

LuaSnip - Snippet Engine for Neovim written in Lua.

obsidian-vimrc-support - A plugin for the Obsidian.md note-taking software

vim-vsnip - Snippet plugin for vim/nvim that supports LSP/VSCode's snippet format.

emmet-vim - emmet for vim: http://emmet.io/

completion-nvim - A async completion framework aims to provide completion to neovim's built in LSP written in Lua

vim-surround - surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease

coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.

snippets.nvim

friendly-snippets - Set of preconfigured snippets for different languages.

ale - Check syntax in Vim/Neovim asynchronously and fix files, with Language Server Protocol (LSP) support

mu-template - Vim template-files expander