diff --git a/neovim/.config/nvim/init.vim b/neovim/.config/nvim/init.vim index 8b88bbd..6cf8787 100644 --- a/neovim/.config/nvim/init.vim +++ b/neovim/.config/nvim/init.vim @@ -69,6 +69,9 @@ augroup END "-------------------- "mappings "-------------------- +"disable colorizer mappings +let g:colorizer_nomap = 1 + " enable copy and past to and fro clipboard vnoremap y "+y nnoremap Y "+yg_ @@ -90,6 +93,7 @@ nnoremap öw :w nnoremap öq :q "custom tab commands nnoremap tn :tabnew +nnoremap tc :tabclose "show buffers nnoremap b :buffers:buffer " cycle buffers @@ -184,6 +188,8 @@ augroup END "-------------------- let g:vimtex_compiler_progname = 'nvr' " neovim-remote for vimtex let g:vimtex_view_method = 'zathura' " set zathura as basic pdf viewer +"open TOC +nnoremap toc :VimtexTocToggle " latexmk parameters let g:vimtex_compiler_latexmk = { \ 'options' : [