Skip to content

samuelireson/texsnip.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TexSnip.nvim

A collection of LuaSnip snippets for LaTeX.

Installation

Installation with lazy.nvim is as simple as,

{
    'samuelireson/texsnip.nvim',
    config = true,
    dependencies = { 'L3MON4D3/luasnip' }
}

Configuration

The collected snippets are mostly static, so there aren't many needed configurations, but you can configure your preamble path as follows,

{
    'samuelireson/texsnip.nvim',
    config = function()
        require("texsnip").setup({
            preamble_path = '~/path/to/preamble'
        })
    end,
    dependencies = { 'L3MON4D3/luasnip' }
}

Contribution

PRs are welcomed! The aim is to automatically expand as many snippets as possible based on the context of the .tex file. This project is all about making LaTeX notes as easily, and quickly as possible.