diff --git a/.config/vim/vimrc b/.config/vim/vimrc index 87c91fb..3a7603f 100644 --- a/.config/vim/vimrc +++ b/.config/vim/vimrc @@ -93,14 +93,6 @@ let vim_markdown_preview_browser='Chromium' let vim_markdown_preview_use_xdg_open=1 let vim_markdown_preview_github=1 -" lervag/vimtex plugin -nmap (vimtex-env-delete) -nmap (vimtex-cmd-delete) -nmap (vimtex-env-delete-math) -nmap (vimtex-env-toggle-star) -nmap (vimtex-delim-toggle-modifier) -xmap (vimtex-delim-toggle-modifier) - let mapleader="\" " Unbind arrow keys for prefix in ['n', 'v'] @@ -179,6 +171,12 @@ if (exists("g:use_dvorak") && g:use_dvorak == 1) noremap zh zj noremap zt zk + " Disable some default vimtex mappings that conflict with rebound keys + let g:vimtex_mappings_disable = { + \ 'n': ['tse', 'tsd', 'tsD', 'tsc', 'dse', 'dsc', 'ds$', 'dsd'], + \ 'x': ['tsd', 'tsD'], + \} + endif " Interface with system clipboard