GitHub - gillescastel/latex-snippets: Vim + LaTeX snippets setup
source link: https://github.com/gillescastel/latex-snippets
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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!
Recommend
-
142
gerw's latex-suite This repo contains an improved version of latex-suite (http://sourceforge.net/projects/vim-latex/) Undocumented Improvements
-
59
March 12, 2019 I was using Vim all my professional life but I’ve never made an effort to use conscientious . I’ve just copy-pasted someone’s config, installed some random plugins and tried to live...
-
37
Join GitHub today GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
-
23
Photo by
-
7
LaTeX + Vim + MacOS. I absolutely love LaTeX; and since I’ve started using a Mac for work, I wanted a setup for writing with it. I settled with installing MacTex, a free r...
-
7
My Vim IDE setup for Go. I like to claim I’m a vi person. The time I’ve spent to learn how to work with this little beast is one of the best ROI decisions I’ve made as a programmer. But every now and then, people say “Well, h...
-
7
Files Permalink Latest commit message Commit time
-
3
Files Permalink Latest commit message Commit time
-
2
BackgroundPermalink People sometimes ask me about my development environment. This often happens after I give a presentation, or during a pair programming sessio...
-
13
Real-time LaTeX Using (Neo)Vim This tutorial series will help you set up the Vim or Neovim text editors for efficiently writing LaTeX documents. Here is an example of what I have in mind:
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK