Add tex plugin to vim with additional keybindings

This commit is contained in:
don philipe
2023-03-25 19:08:08 +01:00
parent f587828fe0
commit 4fa414de62

8
.vimrc
View File

@@ -35,6 +35,11 @@ inoremap <expr>> strpart(getline('.'), col('.')-1, 1) == ">" ? "\<Right>" : ">"
"inoremap " ""<Left> "inoremap " ""<Left>
"inoremap ' ''<Left> "inoremap ' ''<Left>
" Tab navigation
nmap <C-t> :tabnew<CR>
nmap <C-k> :tabprev<CR>
nmap <C-j> :tabnext<CR>
" redefine some default colors " redefine some default colors
highlight Search ctermfg=Black highlight Search ctermfg=Black
highlight Comment ctermfg=012 highlight Comment ctermfg=012
@@ -66,6 +71,9 @@ Plug 'vim-airline/vim-airline'
" Git diff in sign column " Git diff in sign column
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'
" Latex plugin
Plug 'lervag/vimtex'
call plug#end() call plug#end()