summaryrefslogtreecommitdiff
path: root/vim/after/ftplugin/tex/mappings.vim
blob: 1c4625d454861978a1c62e4839eac2515e03ddd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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>