diff options
author | Urbain Vaes <urbain@vaes.uk> | 2016-04-19 15:24:25 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2016-04-19 15:24:25 +0100 |
commit | e146e947c52ac4adbe426b3f893faff1e46ed5f8 (patch) | |
tree | 1605bf4eb78cc619988c92632f3cee2a56143fd5 /vim/.vim/after/ftplugin/tex/mappings.vim | |
parent | 83bd503208d45fa837348441196dd07223b13e3e (diff) |
Use GNU stow for dotfiles management
Diffstat (limited to 'vim/.vim/after/ftplugin/tex/mappings.vim')
-rw-r--r-- | vim/.vim/after/ftplugin/tex/mappings.vim | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/vim/.vim/after/ftplugin/tex/mappings.vim b/vim/.vim/after/ftplugin/tex/mappings.vim new file mode 100644 index 0000000..1c4625d --- /dev/null +++ b/vim/.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> |