summaryrefslogtreecommitdiff
path: root/.vim/after/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to '.vim/after/ftplugin')
-rw-r--r--.vim/after/ftplugin/tex/folding.vim0
-rw-r--r--.vim/after/ftplugin/tex/mappings.vim23
2 files changed, 11 insertions, 12 deletions
diff --git a/.vim/after/ftplugin/tex/folding.vim b/.vim/after/ftplugin/tex/folding.vim
deleted file mode 100644
index e69de29..0000000
--- a/.vim/after/ftplugin/tex/folding.vim
+++ /dev/null
diff --git a/.vim/after/ftplugin/tex/mappings.vim b/.vim/after/ftplugin/tex/mappings.vim
index f812cd8..1c4625d 100644
--- a/.vim/after/ftplugin/tex/mappings.vim
+++ b/.vim/after/ftplugin/tex/mappings.vim
@@ -1,14 +1,14 @@
-inoremap <buffer> (( \left(
-inoremap <buffer> )) \right)
-inoremap <buffer> {{ \left\{
-inoremap <buffer> }} \right\}
-inoremap <buffer> [[ \left[
-inoremap <buffer> ]] \right]
-inoremap <buffer> == \,=\,
-inoremap <buffer> >> \,\geq\,
-inoremap <buffer> << \,\leq\,
-inoremap <buffer> ++ \,+\,
-inoremap <buffer> -- \,-\,
+iabbrev <buffer> (( \left(
+iabbrev <buffer> )) \right)
+iabbrev <buffer> {{ \left\{
+iabbrev <buffer> }} \right\}
+iabbrev <buffer> [[ \left[
+iabbrev <buffer> ]] \right]
+iabbrev <buffer> == \,=\,
+iabbrev <buffer> >> \,\geq\,
+iabbrev <buffer> << \,\leq\,
+iabbrev <buffer> ++ \,+\,
+iabbrev <buffer> -- \,-\,
iabbrev <buffer> ga \alpha
iabbrev <buffer> gb \beta
@@ -29,7 +29,6 @@ iabbrev <buffer> gs \sigma
iabbrev <buffer> gf \phi
iabbrev <buffer> gp \pi
iabbrev <buffer> gw \omega
-iabbrev <buffer> dd \d
nnoremap <buffer> <LocalLeader>i :VimtexCompile<CR>
nnoremap <buffer> <LocalLeader>e :VimtexErrors<CR>