vim - add latexbox
This commit is contained in:
parent
b4401860ac
commit
5ffe1f0c8e
@ -22,6 +22,7 @@ Plugin 'altercation/vim-colors-solarized'
|
|||||||
Plugin 'chriskempson/base16-vim'
|
Plugin 'chriskempson/base16-vim'
|
||||||
Plugin 'Valloric/YouCompleteMe'
|
Plugin 'Valloric/YouCompleteMe'
|
||||||
Plugin 'junegunn/vim-easy-align'
|
Plugin 'junegunn/vim-easy-align'
|
||||||
|
Plugin 'LaTeX-Box-Team/LaTeX-Box'
|
||||||
|
|
||||||
" All of your Plugins must be added before the following line
|
" All of your Plugins must be added before the following line
|
||||||
call vundle#end() " required
|
call vundle#end() " required
|
||||||
@ -61,6 +62,9 @@ let g:solarized_termtrans=1
|
|||||||
" Loaing base16
|
" Loaing base16
|
||||||
let base16colorspace=256
|
let base16colorspace=256
|
||||||
|
|
||||||
|
" Configuring LaTeX-Box
|
||||||
|
let g:LatexBox_Folding = 1
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" General Options {{{
|
" General Options {{{
|
||||||
@ -237,7 +241,7 @@ function TexHook()
|
|||||||
setlocal tabstop=2
|
setlocal tabstop=2
|
||||||
setlocal shiftwidth=2
|
setlocal shiftwidth=2
|
||||||
setlocal softtabstop=2
|
setlocal softtabstop=2
|
||||||
setlocal foldmethod=marker
|
" setlocal foldmethod=marker
|
||||||
" Make a pdf
|
" Make a pdf
|
||||||
noremap <C-c> :!pdflatex '%'<CR><CR>
|
noremap <C-c> :!pdflatex '%'<CR><CR>
|
||||||
noremap <C-i> :!spawn zathura '%:p:r.pdf'<CR><CR>
|
noremap <C-i> :!spawn zathura '%:p:r.pdf'<CR><CR>
|
||||||
|
Loading…
Reference in New Issue
Block a user