diff options
Diffstat (limited to 'vim/after/ftplugin/tex/mappings.vim')
-rw-r--r-- | vim/after/ftplugin/tex/mappings.vim | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/vim/after/ftplugin/tex/mappings.vim b/vim/after/ftplugin/tex/mappings.vim new file mode 100644 index 0000000..1c4625d --- /dev/null +++ b/vim/after/ftplugin/tex/mappings.vim @@ -0,0 +1,38 @@ +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 +iabbrev <buffer> gg \gamma +iabbrev <buffer> gd \delta +iabbrev <buffer> ge \varepsilon +iabbrev <buffer> gz \zeta +iabbrev <buffer> gh \eta +iabbrev <buffer> gt \theta +iabbrev <buffer> gi \iota +iabbrev <buffer> gk \kappa +iabbrev <buffer> gl \lambda +iabbrev <buffer> gm \mu +iabbrev <buffer> gn \nu +iabbrev <buffer> gx \xi +iabbrev <buffer> gr \rho +iabbrev <buffer> gs \sigma +iabbrev <buffer> gf \phi +iabbrev <buffer> gp \pi +iabbrev <buffer> gw \omega + +nnoremap <buffer> <LocalLeader>i :VimtexCompile<CR> +nnoremap <buffer> <LocalLeader>e :VimtexErrors<CR> +nnoremap <buffer> <LocalLeader>o :VimtexView<CR> +nnoremap <buffer> <LocalLeader>k :VimtexStop<CR>:VimtexClean<CR> +nnoremap <buffer> <LocalLeader>t :VimtexTocToggle<CR> +nnoremap <buffer> <LocalLeader>h :split header.sty<CR> |