From d4a429dfda2d23108d586a639d26ea4aa3407ffb Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Thu, 26 Oct 2017 16:32:00 +0200 Subject: [PATCH] Two minor improvements --- vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index 71d4318..35fc4db 100644 --- a/vimrc +++ b/vimrc @@ -262,7 +262,7 @@ nnoremap - :call AddWinMinHeight(-1) nnoremap 0 :Equal " Window Width Stuff -command! EqualW call EqualW() +command! EqualW silent! call EqualW() function! EqualW() set winminwidth=0 set winwidth=1 @@ -328,7 +328,7 @@ endfunction " --- C / C++ Stuff --- " Insert Stuff -au BufNewFile,BufRead *.c,*.cpp,*.h,*.hpp :nnoremap ii o#include <>i +au BufNewFile,BufRead *.c,*.cpp,*.h,*.hpp :nnoremap ii O#include <>i au BufNewFile,BufRead *.c,*.cpp,*.h,*.hpp :nnoremap ip oprintf("m'\n");`'a au BufNewFile,BufRead *.c,*.cpp,*.h,*.hpp :nnoremap im oint main(int argc, char *args[]) {}O " Other Stuff