summaryrefslogtreecommitdiff
path: root/vim/.vim/after/ftplugin/tex/mappings.vim
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2016-06-17 14:31:29 +0100
committerUrbain Vaes <urbain@vaes.uk>2016-06-17 14:31:29 +0100
commit509843cde3ed567baec10525e48bcf819249ba9d (patch)
tree0907820e8d37916a7adcf6a636d067a1db8a3bb4 /vim/.vim/after/ftplugin/tex/mappings.vim
parentc9925e5fba0c702815b81fd7f296b11a152872a2 (diff)
[vim] Add mappings for capital Greek letters
Diffstat (limited to 'vim/.vim/after/ftplugin/tex/mappings.vim')
-rw-r--r--vim/.vim/after/ftplugin/tex/mappings.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/vim/.vim/after/ftplugin/tex/mappings.vim b/vim/.vim/after/ftplugin/tex/mappings.vim
index 1c4625d..939af68 100644
--- a/vim/.vim/after/ftplugin/tex/mappings.vim
+++ b/vim/.vim/after/ftplugin/tex/mappings.vim
@@ -30,6 +30,16 @@ iabbrev <buffer> gf \phi
iabbrev <buffer> gp \pi
iabbrev <buffer> gw \omega
+iabbrev <buffer> gB \Beta
+iabbrev <buffer> gG \Gamma
+iabbrev <buffer> gD \Delta
+iabbrev <buffer> gT \Theta
+iabbrev <buffer> gL \Lambda
+iabbrev <buffer> gX \Xi
+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>