From a0921a665773c4ffedd5d6d631b6e0de2547f954 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 30 Mar 2015 13:36:07 +0100 Subject: Added latex compilation mappings in ftplugin --- vim/after/ftplugin/tex/mappings.vim | 7 +++++++ vim/vimrc | 1 - 2 files changed, 7 insertions(+), 1 deletion(-) 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 `s \sigma inoremap `f \phi inoremap `p \pi inoremap `w \omega + +nnoremap i :VimtexCompile +nnoremap e :VimtexErrors +nnoremap o :VimtexView +nnoremap k :VimtexStop:VimtexClean +nnoremap t :VimtexTocToggle +nnoremap h :split header.sty diff --git a/vim/vimrc b/vim/vimrc index 5422db7..3e28d87 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -195,7 +195,6 @@ vnoremap g$ $ vnoremap g^ ^ "" Latex -nmap LatexChangeEnv let g:tex_fast="" "" Autocommands -- cgit v1.2.3