1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-11-14 16:52:29 +00:00
dotfiles/vim/ftplugin/tex.vim
J.Fernando Sánchez e4c1487749 First commit
2012-12-01 05:11:06 +01:00

12 lines
265 B
VimL

setlocal formatoptions+=wa
function! SyncTexForward()
let execstr = "silent !okular --unique ".LatexBox_GetOutputFile()."\\#src:".line(".")."%:p &"
exec execstr
endfunction
nmap <Leader>f :call SyncTexForward()<CR>
map <leader>ct yyp:s/begin/end/<CR>