Skip to content

Instantly share code, notes, and snippets.

@rizo
Created January 31, 2013 00:01
Show Gist options
  • Save rizo/4678568 to your computer and use it in GitHub Desktop.
Save rizo/4678568 to your computer and use it in GitHub Desktop.
" Renders current LaTeX file.
function! LatexRender()
:w
:Latexmk
:LatexView
endfunction
autocmd FileType tex nnoremap <C-b> :call LatexRender()<CR> \
inoremap <C-b> <ESC>:call LatexRender()<CR>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment