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