From 50d1d1ff52db4112e3f82ae970d958c42b754e1d Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Thu, 24 Jun 2021 08:20:19 +0200 Subject: [PATCH] added key combo to close tab in nvim. --- neovim/.config/nvim/init.vim | 6 ++++++ 1 file changed, 6 insertions(+) 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' : [