summaryrefslogtreecommitdiff
path: root/vim/after/ftplugin
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-03-30 13:36:07 +0100
committerUrbain Vaes <urbain@vaes.uk>2015-03-30 13:36:07 +0100
commita0921a665773c4ffedd5d6d631b6e0de2547f954 (patch)
treeee72fb0d1f7348c138df8fcfd0e5fc65a07b0bc3 /vim/after/ftplugin
parent6d3c890e15964b38ae53fc075fd7e9d63dc5f75a (diff)
Added latex compilation mappings in ftplugin
Diffstat (limited to 'vim/after/ftplugin')
-rw-r--r--vim/after/ftplugin/tex/mappings.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/vim/after/ftplugin/tex/mappings.vim b/vim/after/ftplugin/tex/mappings.vim
index 121cdee..a3b882c 100644
--- a/vim/after/ftplugin/tex/mappings.vim
+++ b/vim/after/ftplugin/tex/mappings.vim
@@ -29,3 +29,10 @@ inoremap <buffer> `s \sigma
inoremap <buffer> `f \phi
inoremap <buffer> `p \pi
inoremap <buffer> `w \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>