Created
January 31, 2013 00:01
-
-
Save rizo/4678568 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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