Created
August 25, 2021 03:07
-
-
Save leannejdong/e31188e9c18bc455037ea6ab8b89029e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set ai | |
| set si | |
| set sw=2 | |
| "set exrc | |
| set expandtab | |
| set formatoptions+=o | |
| set hidden | |
| "set number | |
| set ls=2 | |
| set spell spelllang=en_us | |
| set tabstop=4 | |
| " inoremap { {}<ESC>ko | |
| call plug#begin('~/.vim/plugged') | |
| "Plug 'tmsvg/pear-tree' | |
| Plug 'lervag/vimtex' | |
| "Plug 'vim-latex/vim-latex' | |
| call plug#end() | |
| let g:tex_flavor = "latex" | |
| autocmd Filetype tex inoremap <buffer> $ $$<left> | |
| " put \begin{} \end{} tags tags around the current word | |
| map <C-B> YpkI\begin{<ESC>A}<ESC>jI\end{<ESC>A}<esc>kA | |
| map! <C-B> <ESC>YpkI\begin{<ESC>A}<ESC>jI\end{<ESC>A}<esc>kA | |
| let g:vimtex_compiler_latexmk = { | |
| \ 'options' : [ | |
| \ '--shell-escape', | |
| \ '-verbose', | |
| \ '-file-line-error', | |
| \ '-synctex=1', | |
| \ '-interaction=nonstopmode', | |
| \ ], | |
| \} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment