summaryrefslogtreecommitdiff
path: root/.vim/after/ftplugin/tex/mappings.vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-02-12 23:56:59 +0000
committerUrbain Vaes <urbain@vaes.uk>2016-02-12 23:56:59 +0000
commitf9683d4ed9c48748378ca9a93e11eddb28b6ff3f (patch)
treed0b297ad068391aa6eb9412b108cfcb9f6943817 /.vim/after/ftplugin/tex/mappings.vim
parentc7cde0bf5b20dd39a274752ef4cb766272cdcade (diff)
parent142628de91fb3620a08101da1abe17c12c7f0c32 (diff)
Merge branch 'master' of urbainvaes.com:git/dotfiles
Diffstat (limited to '.vim/after/ftplugin/tex/mappings.vim')
-rw-r--r--.vim/after/ftplugin/tex/mappings.vim23
1 files changed, 11 insertions, 12 deletions
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>