{"id":13545621,"url":"https://github.com/gillescastel/latex-snippets","last_synced_at":"2025-05-16T18:05:28.068Z","repository":{"id":36033863,"uuid":"197446409","full_name":"gillescastel/latex-snippets","owner":"gillescastel","description":"Vim + LaTeX snippets setup","archived":false,"fork":false,"pushed_at":"2023-04-30T06:19:34.000Z","size":10,"stargazers_count":1079,"open_issues_count":8,"forks_count":197,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-04-03T17:12:54.900Z","etag":null,"topics":["latex","python","ultisnip-snippets","ultisnips","vim"],"latest_commit_sha":null,"homepage":null,"language":"Vim Snippet","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gillescastel.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2019-07-17T18:59:47.000Z","updated_at":"2025-04-01T09:44:32.000Z","dependencies_parsed_at":"2024-01-16T08:10:46.815Z","dependency_job_id":"bd78abdd-4dfb-478d-9fd3-2d3f7af7f67c","html_url":"https://github.com/gillescastel/latex-snippets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gillescastel%2Flatex-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gillescastel%2Flatex-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gillescastel%2Flatex-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gillescastel%2Flatex-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gillescastel","download_url":"https://codeload.github.com/gillescastel/latex-snippets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248598146,"owners_count":21131025,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["latex","python","ultisnip-snippets","ultisnips","vim"],"created_at":"2024-08-01T11:01:07.244Z","updated_at":"2025-04-12T16:39:20.964Z","avatar_url":"https://github.com/gillescastel.png","language":"Vim Snippet","funding_links":[],"categories":["Vim Snippet"],"sub_categories":[],"readme":"# Vim + LaTeX snippets setup\n\n*[How I'm able to take notes in mathematics lectures using LaTeX and Vim](https://castel.dev/post/lecture-notes-1/)*\n\n## Vim configuration\n\nCopy `tex.snippets` to `~/.vim/UltiSnips/` and assuming you're using [Vim Plug](https://github.com/junegunn/vim-plug), add the following to your `.vimrc`:\n\n```vim\nPlug 'sirver/ultisnips'\n    let g:UltiSnipsExpandTrigger = '\u003ctab\u003e'\n    let g:UltiSnipsJumpForwardTrigger = '\u003ctab\u003e'\n    let g:UltiSnipsJumpBackwardTrigger = '\u003cs-tab\u003e'\n\nPlug 'lervag/vimtex'\n    let g:tex_flavor='latex'\n    let g:vimtex_view_method='zathura'\n    let g:vimtex_quickfix_mode=0\n\nPlug 'KeitaNakamura/tex-conceal.vim'\n    set conceallevel=1\n    let g:tex_conceal='abdmg'\n    hi Conceal ctermbg=none\n\nsetlocal spell\nset spelllang=en_us\ninoremap \u003cC-l\u003e \u003cc-g\u003eu\u003cEsc\u003e[s1z=`]a\u003cc-g\u003eu\n```\n\nFor the colorscheme, install [pywal](https://github.com/dylanaraps/pywal), add the following to your `.vimrc`\n\n```vim\nPlug 'dylanaraps/wal'\ncolorscheme wal\nset background=dark\n```\n\nFinally, execute `wal --theme base16-nord`.\n\nSomething not working as expected? Feel free to open an issue!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgillescastel%2Flatex-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgillescastel%2Flatex-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgillescastel%2Flatex-snippets/lists"}