From 4fa414de6272103a67453b93b648b0eadeb8fcf3 Mon Sep 17 00:00:00 2001 From: don philipe Date: Sat, 25 Mar 2023 19:08:08 +0100 Subject: [PATCH 1/2] Add tex plugin to vim with additional keybindings --- .vimrc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.vimrc b/.vimrc index 87d851e..4eebe69 100644 --- a/.vimrc +++ b/.vimrc @@ -35,6 +35,11 @@ inoremap > strpart(getline('.'), col('.')-1, 1) == ">" ? "\" : ">" "inoremap " "" "inoremap ' '' +" Tab navigation +nmap :tabnew +nmap :tabprev +nmap :tabnext + " redefine some default colors highlight Search ctermfg=Black highlight Comment ctermfg=012 @@ -66,6 +71,9 @@ Plug 'vim-airline/vim-airline' " Git diff in sign column Plug 'airblade/vim-gitgutter' +" Latex plugin +Plug 'lervag/vimtex' + call plug#end() From db55eeb265bac59f80e5748f810f0ae2d5507e3e Mon Sep 17 00:00:00 2001 From: don philipe Date: Fri, 5 May 2023 21:02:20 +0200 Subject: [PATCH 2/2] Add vim tab navigation shortcuts --- .vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index 4eebe69..ba9dc9e 100644 --- a/.vimrc +++ b/.vimrc @@ -37,8 +37,8 @@ inoremap > strpart(getline('.'), col('.')-1, 1) == ">" ? "\" : ">" " Tab navigation nmap :tabnew -nmap :tabprev -nmap :tabnext +nmap :tabprev +nmap :tabnext " redefine some default colors highlight Search ctermfg=Black