summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vim/after/ftplugin/tex/mappings.vim7
-rw-r--r--vim/vimrc1
2 files changed, 7 insertions, 1 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>
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 <buffer> <F2> <Plug>LatexChangeEnv
let g:tex_fast=""
"" Autocommands