|
|
@ -86,6 +86,7 @@ let g:airline_theme='dark' |
|
|
|
let g:vimtex_view_method = 'zathura' |
|
|
|
let g:vimtex_view_method = 'zathura' |
|
|
|
|
|
|
|
|
|
|
|
" Quick tex options {{{2 |
|
|
|
" Quick tex options {{{2 |
|
|
|
|
|
|
|
" HTML {{{3 |
|
|
|
let g:quicktex_html = { |
|
|
|
let g:quicktex_html = { |
|
|
|
\' ' : "\<ESC>/<+.*+>\<CR>\"_c/+>/e\<CR>", |
|
|
|
\' ' : "\<ESC>/<+.*+>\<CR>\"_c/+>/e\<CR>", |
|
|
|
\';b' : "<b><+++></b> <++>", |
|
|
|
\';b' : "<b><+++></b> <++>", |
|
|
@ -100,11 +101,14 @@ let g:quicktex_html = { |
|
|
|
\';li' : "<li><++></li>", |
|
|
|
\';li' : "<li><++></li>", |
|
|
|
\} |
|
|
|
\} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Latex Normal {{{3 |
|
|
|
let g:quicktex_tex = { |
|
|
|
let g:quicktex_tex = { |
|
|
|
\' ' : "\<ESC>/<+.*+>\<CR>\"_c/+>/e\<CR>", |
|
|
|
\' ' : "\<ESC>/<+.*+>\<CR>\"_c/+>/e\<CR>", |
|
|
|
\';b' : "\\textbf{<+++>} <++>", |
|
|
|
\';b' : "\\textbf{<+++>} <++>", |
|
|
|
\';e' : "\\emph{<+++>} <++>", |
|
|
|
\';e' : "\\emph{<+++>} <++>", |
|
|
|
\'prf' : "\\begin{proof}\<CR><+++>\<CR>\\end{proof}", |
|
|
|
\'prf' : "\\begin{proof}\<CR><+++>\<CR>\\end{proof}", |
|
|
|
|
|
|
|
\';m' : "$<+++>$ <++>", |
|
|
|
|
|
|
|
\';M' : "\\[ <+++> \\] <++>", |
|
|
|
\';ma' : "$a$ ", |
|
|
|
\';ma' : "$a$ ", |
|
|
|
\';mb' : "$b$ ", |
|
|
|
\';mb' : "$b$ ", |
|
|
|
\';mc' : "$c$ ", |
|
|
|
\';mc' : "$c$ ", |
|
|
@ -159,31 +163,31 @@ let g:quicktex_tex = { |
|
|
|
\';mZ' : "$Z$ ", |
|
|
|
\';mZ' : "$Z$ ", |
|
|
|
\} |
|
|
|
\} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Latex Maths {{{3 |
|
|
|
let g:quicktex_math = { |
|
|
|
let g:quicktex_math = { |
|
|
|
\' ' : "\<ESC>/<+.*+>\<CR>\"_c/+>/e\<CR>", |
|
|
|
\' ' : "\<ESC>/<+.*+>\<CR>\"_c/+>/e\<CR>", |
|
|
|
\';b' : "\\mathbf{<+++>} <++>", |
|
|
|
\';b' : "\\mathbf{<+++>} <++>", |
|
|
|
|
|
|
|
\';B' : "\\mathbb{<+++>} <++>", |
|
|
|
\'fr' : '\mathcal{R} ', |
|
|
|
\'fr' : '\mathcal{R} ', |
|
|
|
\'eq' : '= ', |
|
|
|
\'eq' : '= ', |
|
|
|
\'set' : '\{ <+++> \} <++>', |
|
|
|
\'set' : '\{ <+++> \} <++>', |
|
|
|
\'frac' : '\frac{<+++>}{<++>} <++>', |
|
|
|
\'frac' : '\frac{<+++>}{<++>} <++>', |
|
|
|
\'one' : '1 ', |
|
|
|
|
|
|
|
\'st' : ': ', |
|
|
|
|
|
|
|
\'in' : '\in ', |
|
|
|
\'in' : '\in ', |
|
|
|
\'bn' : '\mathbb{N} ', |
|
|
|
\'bn' : '\mathbb{N} ', |
|
|
|
\} |
|
|
|
\} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Markdown {{{3 |
|
|
|
let g:quicktex_markdown = { |
|
|
|
let g:quicktex_markdown = { |
|
|
|
\' ' : "\<ESC>/<+.*+>\<CR>\"_c/+>/e\<CR>", |
|
|
|
\' ' : "\<ESC>/<+.*+>\<CR>\"_c/+>/e\<CR>", |
|
|
|
\';b' : "**<+++>** <++>", |
|
|
|
\';b' : "**<+++>** <++>", |
|
|
|
\';i' : "*<+++>* <++>", |
|
|
|
\';i' : "*<+++>* <++>", |
|
|
|
\';a' : "[<+++>](<+url+>) <++>", |
|
|
|
\';a' : "[<+++>](<+url+>) <++>", |
|
|
|
\} |
|
|
|
\} |
|
|
|
|
|
|
|
|
|
|
|
let g:quicktex_pandoc = g:quicktex_markdown |
|
|
|
let g:quicktex_pandoc = g:quicktex_markdown |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
"}}} |
|
|
|
"}}} |
|
|
|
|
|
|
|
"}}} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
" Functions {{{1 |
|
|
|
" Functions {{{1 |
|
|
|