configuration/config/nvim/ftplugin/tex.vim

14 lines
256 B
VimL
Raw Normal View History

2015-12-29 21:26:04 +01:00
" Make a pdf
nnoremap <buffer> <Leader>c :terminal pdflatex -shell-escape '%'<CR><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