configuration/config/nvim/ftplugin/tex.vim
2016-02-22 09:05:56 +01:00

14 lines
231 B
VimL

" Make a pdf
nnoremap <buffer> <Leader>c :T pdflatex '%'<CR>
nnoremap <buffer> <Leader>i :!rifle '%:p:r.pdf'<CR><CR>
" Indent
setlocal tabstop=2
setlocal shiftwidth=2
setlocal softtabstop=2
" Folding
setlocal foldmethod=marker