diff options
Diffstat (limited to 'vim')
-rw-r--r-- | vim/after/ftplugin/tex/mappings.vim | 7 | ||||
-rw-r--r-- | vim/vimrc | 1 |
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> @@ -195,7 +195,6 @@ vnoremap g$ $ vnoremap g^ ^ "" Latex -nmap <buffer> <F2> <Plug>LatexChangeEnv let g:tex_fast="" "" Autocommands |