Updated math mappings

This commit is contained in:
Karl Yngve Lervåg 2015-10-17 23:35:02 +02:00
parent 2abcee36db
commit 05fcf0e1d5

View File

@ -59,22 +59,6 @@ function! s:default_collections() " {{{1
\ ['((', '\left($1\right)'], \ ['((', '\left($1\right)'],
\ ['[[', '\left[$1\right]'], \ ['[[', '\left[$1\right]'],
\ ['{{', '\left\{$1\right\}'], \ ['{{', '\left\{$1\right\}'],
\ ['exp', '\exp'],
\ ['cos', '\cos'],
\ ['sin', '\sin'],
\ ['tan', '\tan'],
\ ['log', '\log'],
\ ['in', '\in'],
\ ['to', '\to'],
\ ['lim', '\lim_{$1}'],
\ ['qj', '\downarrow'],
\ ['ql', '\leftarrow'],
\ ['qh', '\rightarrow'],
\ ['qk', '\uparrow'],
\ ['qJ', '\Downarrow'],
\ ['qL', '\Leftarrow'],
\ ['qH', '\Rightarrow'],
\ ['qK', '\Uparrow'],
\ ], \ ],
\ }, \ },
\ { \ {
@ -97,10 +81,19 @@ function! s:default_collections() " {{{1
\ ['^', '\hat{$1}'], \ ['^', '\hat{$1}'],
\ [';', '\dot{$1}'], \ [';', '\dot{$1}'],
\ ['_', '\bar{$1}'], \ ['_', '\bar{$1}'],
\ ['lim', '\lim_{$1}'],
\ ['qj', '\downarrow'],
\ ['ql', '\leftarrow'],
\ ['qh', '\rightarrow'],
\ ['qk', '\uparrow'],
\ ['qJ', '\Downarrow'],
\ ['qL', '\Leftarrow'],
\ ['qH', '\Rightarrow'],
\ ['qK', '\Uparrow'],
\ ], \ ],
\ }, \ },
\ { \ {
\ 'title' : 'greek', \ 'title' : 'math_greek',
\ 'wrapper' : 's:wrap_math', \ 'wrapper' : 's:wrap_math',
\ 'mappings' : [ \ 'mappings' : [
\ ['a', '\alpha'], \ ['a', '\alpha'],