LuaSnip Guides Home
Whether you’re looking to configure LuaSnip for the first time or find some niche new techniques to make a very specific function 0.0001% easier to type, there’s a guide for you! Also, feel free to take a look at my snippets here for some references.
(semi-obligatory self plug)
I’m also in the process of creating a plugin that provides a lot of common (LaTeX) snippets like friendly-snippets; let me know if you’re interested.
If you find any typos/errors, issues, or places I can improve on, feel free to do one of the following:
- Make an issue here
- Contact me using any of the methods listed on the footer
- Make a better guide. Seriously, that’s why I even got back into writing - all the LuaSnip guides were very minimal and my reading skills cannot make it through documentation, so I wanted something more approachable that also covered concepts in appreciable depth, and so here we are.
Note: I am not affiliated with LuaSnip (and definitely am not sponsored); I just need snippets to offset my slow typing speed so I can take LaTeX lecture notes live for my classes.
Note 2: I’m currently in the process of overhauling the guides. This include some minor reorganization - I’ll have a UltiSnips to LuaSnip guide, a LaTeX-specific guide, and a few Advanced LuaSnip Guides. Expect a bit of content to be shuffled around.
luasnip-latex-snippets.nvim: Exporting Common LaTeX Snippets
Get more information on the development of a plugin providing common snippets in LuaSnip!
Advanced LuaSnip: Modular Snippets with Choice/Dynamic Nodes
Add modularity and additional functionality using two of LuaSnip’s most powerful features - Choice Nodes and Dynamic Nodes.
LuaSnip Condition Objects: Use Python snippets within LaTeX Code Listings
Learn to use snippets from other languages such as Python in LaTeX code listings with LuaSnip Condition Objects with this short guide.
From UltiSnips to LuaSnip: A Comprehensive Guide
A detailed guide to navigating a promising new snippet engine in Neovim. Migrate from UltiSnips to LuaSnip with ease while familiarizing yourself with some of the new features of LuaSnip.