latex-snippetsVim + LaTeX snippets setup
Vim + LaTeX snippets setup
How I'm able to take notes in mathematics lectures using LaTeX and Vim
Vim configuration
Copy tex.snippets
to ~/.vim/UltiSnips/
and assuming you're using Vim Plug, add the following to your .vimrc
:
Plug 'sirver/ultisnips'
let g:UltiSnipsExpandTrigger = '<tab>'
let g:UltiSnipsJumpForwardTrigger = '<tab>'
let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
Plug 'lervag/vimtex'
let g:tex_flavor='latex'
let g:vimtex_view_method='zathura'
let g:vimtex_quickfix_mode=0
Plug 'KeitaNakamura/tex-conceal.vim'
set conceallevel=1
let g:tex_conceal='abdmg'
hi Conceal ctermbg=none
setlocal spell
set spelllang=en_us
inoremap <C-l> <c-g>u<Esc>[s1z=`]a<c-g>u
For the colorscheme, install pywal, add the following to your .vimrc
Plug 'dylanaraps/wal'
colorscheme wal
set background=dark
Finally, execute wal --theme base16-nord
.
Something not working as expected? Feel free to open an issue!
评论
snippetsAtom snippets package
Snippets package Expand snippets matching the cur
snippetsAtom snippets package
0
atom-react-snippetsesnext React snippets
Atom React.js Snippets An Atom snippet library for
atom-react-snippetsesnext React snippets
0
snippetsAtom snippets package
SnippetspackageExpandsnippetsmatchingthecurrentprefixwithtabinAtom.Toaddyourownsnippets,selecttheAto
snippetsAtom snippets package
0
atom-react-snippetsesnext React snippets
AtomReact.jsSnippetsAnAtomsnippetlibraryforReact.ThislibraryusesES6syntax,ifyouwouldpreferES5orCoffe
atom-react-snippetsesnext React snippets
0
vscode-angular-snippetsAngular Snippets for VS Code
Angular TypeScript Snippets for VS CodeNow Updated
vscode-angular-snippetsAngular Snippets for VS Code
0
atom-css-snippetsCSS Snippets for Atom Editor
CSSSnippetsAnAtomPackage-Atom.io:GithubShorthandsnippetsforCSS,SCSS,Sass,andLess.WhatsIncluded?Tooma
atom-css-snippetsCSS Snippets for Atom Editor
0
vscode-angular-snippetsAngular Snippets for VS Code
AngularTypeScriptSnippetsforVSCodeNowUpdatedforAngular12.0.0releaseThisextensionforVisualStudioCodea
vscode-angular-snippetsAngular Snippets for VS Code
0
latex2expUse LaTeX in R. More LaTeX, less plotmath!
latex2explatex2expisanRpackagethatparsesandconvertsLaTeXmathformulastoR’splotmathexpressions.Plotmat
latex2expUse LaTeX in R. More LaTeX, less plotmath!
0