summaryrefslogtreecommitdiff
path: root/vim/.vim/after/ftplugin/tex
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2021-09-30 20:48:21 +0200
committerUrbain Vaes <urbain@vaes.uk>2021-09-30 20:48:21 +0200
commitee07f3a792cb0a09fcd87dd31eb8ea596b8365a3 (patch)
treeb130fb4be747885e1baec50557141607e7716ca7 /vim/.vim/after/ftplugin/tex
parent179918a8892a78c428774e35afecfc3df875d3c7 (diff)
Minor changes
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>