vim - fold by marker in latex
This commit is contained in:
parent
603310802e
commit
d317cf7a30
1 changed files with 2 additions and 1 deletions
|
@ -219,7 +219,8 @@ autocmd FileType tex call TexHook()
|
|||
function TexHook()
|
||||
setlocal tabstop=2
|
||||
setlocal shiftwidth=2
|
||||
set softtabstop=2
|
||||
setlocal softtabstop=2
|
||||
setlocal foldmethod=marker
|
||||
" Make a pdf
|
||||
noremap <C-c> :!pdflatex '%'<CR><CR>
|
||||
noremap <C-i> :!spawn zathura '%:p:r.pdf'<CR><CR>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue