From 05fcf0e1d5a6a6694169f89d72fc5bf7b8af32fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Sat, 17 Oct 2015 23:35:02 +0200 Subject: [PATCH] Updated math mappings --- autoload/vimtex/imaps.vim | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/autoload/vimtex/imaps.vim b/autoload/vimtex/imaps.vim index a3b110c..969fd29 100644 --- a/autoload/vimtex/imaps.vim +++ b/autoload/vimtex/imaps.vim @@ -59,22 +59,6 @@ function! s:default_collections() " {{{1 \ ['((', '\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}'], \ [';', '\dot{$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', \ 'mappings' : [ \ ['a', '\alpha'],