From 4d5032564d4b073eb9ea1a037a99c85f9fbd61ec Mon Sep 17 00:00:00 2001 From: Vladan Popovic Date: Fri, 24 Jul 2020 10:46:44 +0200 Subject: [PATCH] Fix autoformat caused errors --- init.vim | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/init.vim b/init.vim index 795adee..3f7c2d1 100644 --- a/init.vim +++ b/init.vim @@ -61,7 +61,7 @@ let g:ale_sign_warning="⚠" " Enable warnings about trailing whitespace for all files. let b:ale_warn_about_trailing_whitespace=1 -nmap e: ALEDetail +nmap e: ALEDetail " ALE colors highlight ALEWarning ctermbg=Yellow @@ -70,8 +70,8 @@ highlight ALEError ctermbg=DarkRed highlight ALEError ctermfg=White " Use TAB to switch between buffers -noremap < tab > : bn < CR > -noremap < S-tab > : bp < CR > +noremap :bn +noremap :bp " Highlight trailing whitespace (darker red) and remove all with Ctrl+k highlight WhitespaceEOL ctermbg=red guibg=#ab0d0d @@ -100,10 +100,11 @@ let g:gitgutter_sign_modified_removed='--' let g:gitgutter_map_keys=0 " Toggles on different plugins/modes -noremap : ToggleMouse -inoremap : ToggleMouse a -nmap : set nonumber! -nmap : NERDTreeToggle +noremap :ToggleMouse +inoremap :ToggleMousea +nmap :set nonumber! +nmap :GitGutterBufferToggle +nmap :NERDTreeToggle set pastetoggle= " Maintain undo history between sessions