dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

commit 7d67c5ff3b7f10e55c00466059e9ef6c9b78169e
parent a14635e5c8a1ee31a85f9b9b52c4e712706dd425
Author: Alex Balgavy <a.balgavy@gmail.com>
Date:   Tue, 23 Apr 2019 15:24:16 +0200

Use vimtex's TOC in latex files instead of Tagbar


Former-commit-id: d6c75f8e074820528ab2b53805c570d41067e9fb
Diffstat:
Mvim/autocmd.vimrc | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/vim/autocmd.vimrc b/vim/autocmd.vimrc @@ -22,4 +22,6 @@ augroup mappings autocmd! autocmd FileType c nnoremap <leader>mm :silent make<CR>\|:redraw!<CR>\|:cwindow<CR> autocmd FileType c nnoremap <leader>mc :silent make clean<CR>\|:redraw!<CR> + autocmd BufEnter *.tex nnoremap <leader>tt :VimtexTocToggle<CR> + autocmd BufLeave *.tex nnoremap <leader>tt :TagbarToggle<CR> augroup END