From af04763824e6a3cdf6ef0b415c84e70facfd0250 Mon Sep 17 00:00:00 2001 From: DarkWiiPlayer Date: Thu, 19 Oct 2017 08:41:26 +0200 Subject: [PATCH] Added insert before WORD and append after WORD mapping --- vimrc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/vimrc b/vimrc index 395ca1b..c46cd72 100644 --- a/vimrc +++ b/vimrc @@ -1,4 +1,3 @@ - " makes use of marker ' " some conditional configs @@ -111,7 +110,9 @@ nnoremap t :Removetrailingspaces nnoremap :copy . nnoremap dx 0"_d$ nnoremap dcx 0d$ - +nnoremap Bi i +nnoremap Ea a + " Empty Lines nnoremap o nnoremap O @@ -235,8 +236,10 @@ endif " === FILETYPE SPECIFIC STUFF === " Vimscript Stuff -au BufNewFile,BufRead .vimrc,_vimrc,*.vim,vimrc :nnoremap :so % -au BufNewFile,BufRead .vimrc,_vimrc,*.vim,vimrc :nnoremap c A" +au BufNewFile,BufRead *.vim,*vimrc :nnoremap :so % +au BufNewFile,BufRead *.vim,*vimrc :nnoremap c A" + +" C / C++ Stuff au BufNewFile,BufRead *.c,*.cpp,*.h,*.hpp :nnoremap ; m'$a;`' " Ruby Stuff