vim - fold by marker in latex
This commit is contained in:
parent
603310802e
commit
d317cf7a30
@ -219,7 +219,8 @@ autocmd FileType tex call TexHook()
|
|||||||
function TexHook()
|
function TexHook()
|
||||||
setlocal tabstop=2
|
setlocal tabstop=2
|
||||||
setlocal shiftwidth=2
|
setlocal shiftwidth=2
|
||||||
set softtabstop=2
|
setlocal softtabstop=2
|
||||||
|
setlocal foldmethod=marker
|
||||||
" Make a pdf
|
" Make a pdf
|
||||||
noremap <C-c> :!pdflatex '%'<CR><CR>
|
noremap <C-c> :!pdflatex '%'<CR><CR>
|
||||||
noremap <C-i> :!spawn zathura '%:p:r.pdf'<CR><CR>
|
noremap <C-i> :!spawn zathura '%:p:r.pdf'<CR><CR>
|
||||||
|
Loading…
Reference in New Issue
Block a user