New config

This commit is contained in:
J. Fernando Sánchez
2015-09-18 02:14:17 +02:00
parent 8e833119db
commit fc8c11d360
117 changed files with 1533 additions and 1083 deletions

29
vim/.vim/ftplugin/tex.vim Normal file
View File

@@ -0,0 +1,29 @@
"setlocal formatoptions+=wa
function! SyncTexForward()
let execstr = "silent !evince ".LatexBox_GetOutputFile()."\\#src:".line(".")."%:p &"
exec execstr
endfunction
nmap <Leader>f :call SyncTexForward()<CR>
map <leader>ct yyp:s/begin/end/<CR>
"Latex
let g:tex_flavor = "latex"
set suffixes+=.log,.aux,.bbl,.blg,.idx,.ilg,.ind,.out,.pdf
"let g:LatexBox_latexmk_options="-pvc"
let g:LatexBox_latexmk_async=1
let g:LatexBox_latexmk_preview_continuously=1
"let g:Tex_CompileRule_pdf = 'pdflatex --synctex=1 -interaction=nonstopmode $*'
let g:LatexBox_output_type="pdf"
let g:LatexBox_viewer="xdg-open"
let g:LatexBox_Folding=1
let g:LatexBox_quickfix=2
let tlist_tex_settings = 'latex;l:labels;s:sections;t:subsections;u:subsubsections'
if !exists("g:tex_comment_nospell") || !g:tex_comment_nospell
syn cluster texCommentGroup contains=texTodo,@Spell
else
syn cluster texCommentGroup contains=texTodo,@NoSpell
endif