9

GitHub - gillescastel/latex-snippets: Vim + LaTeX snippets setup

 2 years ago
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.
neoserver,ios ssh client

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
    • Github github.com 6 years ago
    • Cache

    GitHub - gerw/vim-latex-suite

    gerw's latex-suite This repo contains an improved version of latex-suite (http://sourceforge.net/projects/vim-latex/) Undocumented Improvements

  • 59
    • www.tuicool.com 5 years ago
    • Cache

    How I revamped my Vim setup

    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
    • Github github.com 4 years ago
    • Cache

    GitHub - binoymichael/my-vim: my vim setup

    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
    • pragmaticpineapple.com 4 years ago
    • Cache

    Ultimate Vim TypeScript Setup

    Photo by

  • 7
    • tpaschalis.github.io 3 years ago
    • Cache

    LaTeX + Vim + MacOS.

    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
    • tpaschalis.github.io 3 years ago
    • Cache

    My Vim IDE setup for Go.

    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
    • Github github.com 3 years ago
    • Cache

    Github GitHub - juraseg/vim-setup

    Files Permalink Latest commit message Commit time

  • 3

    Files Permalink Latest commit message Commit time

  • 2
    • jqno.nl 2 years ago
    • Cache

    My Vim setup

    BackgroundPermalink People sometimes ask me about my development environment. This often happens after I give a presentation, or during a pair programming sessio...

  • 13
    • ejmastnak.github.io 2 years ago
    • Cache

    Real-time LaTeX Using Vim or Neovim | ejmastnak

    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