Merge branch 'master' of bitbucket.org:jab2870/vim-config

master
Jonathan Hodgson 8 years ago
commit 7048db4262
  1. 3
      .gitmodules
  2. 12
      .vimrc
  3. 1
      bundle/vim-rmarkdown

3
.gitmodules vendored

@ -43,3 +43,6 @@
[submodule "bundle/goyo.vim"] [submodule "bundle/goyo.vim"]
path = bundle/goyo.vim path = bundle/goyo.vim
url = https://github.com/junegunn/goyo.vim url = https://github.com/junegunn/goyo.vim
[submodule "bundle/vim-rmarkdown"]
path = bundle/vim-rmarkdown
url = https://github.com/vim-pandoc/vim-rmarkdown

@ -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

@ -0,0 +1 @@
Subproject commit 8c1c3979554bdff08239a2fe441af4d7dfeea8bc
Loading…
Cancel
Save