Files
dotfiles/vim/.vim/ftplugin/tex.vim
T
2026-11-04 13:16:24 +01:00

10 lines
388 B
VimL

set concealcursor=""
set textwidth=100
highlight Conceal ctermfg=red
noremap <silent> <F12> <ESC>:silent !pdflatex % && mupdf %:r.pdf&<CR>
inoremap <C-f> <Esc>: silent exec '.!inkscape-figures create "'.getline('.').'" "'.b:vimtex.root.'/figures/"'<CR><CR>:w<CR>
nnoremap <C-f> : silent exec '!inkscape-figures edit "'.b:vimtex.root.'/figures/" > /dev/null 2>&1 &'<CR><CR>:redraw!<CR>