summaryrefslogtreecommitdiff
path: root/vim/.vim/after/ftplugin/tex
diff options
context:
space:
mode:
Diffstat (limited to 'vim/.vim/after/ftplugin/tex')
-rw-r--r--vim/.vim/after/ftplugin/tex/mappings.vim28
1 files changed, 20 insertions, 8 deletions
diff --git a/vim/.vim/after/ftplugin/tex/mappings.vim b/vim/.vim/after/ftplugin/tex/mappings.vim
index 2b25c4a..a69f752 100644
--- a/vim/.vim/after/ftplugin/tex/mappings.vim
+++ b/vim/.vim/after/ftplugin/tex/mappings.vim
@@ -1,35 +1,47 @@
+" iabbrev <buffer> (( \left(
+" iabbrev <buffer> )) \right)
+" iabbrev <buffer> {{ \left\{
+" iabbrev <buffer> }} \right\}
+" iabbrev <buffer> [[ \left[
+" iabbrev <buffer> ]] \right]
+iabbrev <buffer> :: \colon
+inoremap <buffer> ^^ ^{}<Left>
+inoremap <buffer> __ _{}<Left>
+
iabbrev <buffer> ga \alpha
iabbrev <buffer> gb \beta
iabbrev <buffer> gc \xi
-iabbrev <buffer> gg \gamma
iabbrev <buffer> gd \delta
iabbrev <buffer> ge \varepsilon
-iabbrev <buffer> gz \zeta
-iabbrev <buffer> gy \eta
+iabbrev <buffer> gf \phi
+iabbrev <buffer> gg \gamma
iabbrev <buffer> gh \theta
iabbrev <buffer> gi \iota
iabbrev <buffer> gk \kappa
iabbrev <buffer> gl \lambda
iabbrev <buffer> gm \mu
iabbrev <buffer> gn \nu
-iabbrev <buffer> gx \chi
+iabbrev <buffer> gp \pi
+iabbrev <buffer> gq \psi
iabbrev <buffer> gr \rho
iabbrev <buffer> gs \sigma
iabbrev <buffer> gt \tau
-iabbrev <buffer> gf \phi
-iabbrev <buffer> gp \pi
iabbrev <buffer> gw \omega
+iabbrev <buffer> gx \chi
+iabbrev <buffer> gy \eta
+iabbrev <buffer> gz \zeta
iabbrev <buffer> gB \Beta
iabbrev <buffer> gC \Xi
-iabbrev <buffer> gG \Gamma
iabbrev <buffer> gD \Delta
+iabbrev <buffer> gF \Phi
+iabbrev <buffer> gG \Gamma
iabbrev <buffer> gH \Theta
iabbrev <buffer> gL \Lambda
iabbrev <buffer> gP \Pi
+iabbrev <buffer> gQ \Psi
iabbrev <buffer> gS \Sigma
iabbrev <buffer> gW \Omega
-iabbrev <buffer> gF \Phi
nnoremap <buffer> <LocalLeader>i :VimtexCompile<CR>
nnoremap <buffer> <LocalLeader>e :VimtexErrors<CR>