Created
November 15, 2010 19:07
-
-
Save robince/700791 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
filetype plugin on | |
set grepprg=grep\ -nH\ $* | |
filetype indent on | |
let g:Tex_ViewRule_pdf = 'Skim' | |
let g:Tex_CompileRule_pdf = 'pdflatex -interaction=nonstopmode -enable-write18 -file-line-error-style $*' | |
"let g:Tex_CompileRule_pdf = 'xelatex -interaction=nonstopmode -file-line-error-style $*' | |
let g:Tex_Leader = ';' | |
"let g:Tex_Folding = 0 | |
let g:Tex_AutoFolding = 0 | |
autocmd FileType tex imap <C-L> <Plug>Tex_LeftRight | |
autocmd FileType tex setlocal textwidth=0 wrap lbr expandtab tabstop=2 shiftwidth=2 | |
\ iskeyword+=: | |
" latex Paragraph formatting | |
autocmd FileType tex map \gq ?^$\\|^\s*\(\\begin\\|\\end\\|\\label\)?1<CR>gq//-1<CR> | |
autocmd FileType tex omap lp ?^$\\|^\s*\(\\begin\\|\\end\\|\\label\)?1<CR>//-1<CR>.<CR> | |
autocmd FileType tex map <F6> :wa<CR>\ll<CR> | |
autocmd FileType tex imap <F6> <esc>:wa<CR>\ll:startinsert<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment