set nocompatible " be iMproved, required filetype off " required set visualbell set noerrorbells set relativenumber set number set autoindent set tabstop=8 softtabstop=0 expandtab shiftwidth=4 smarttab inoremap jj nnoremap nnoremap nnoremap nnoremap nnoremap dK kdd nnoremap dJ jdd nnoremap >f viwc:set ri":set nori vnoremap \f c:set ri":set nori let mapleader = " " map bs :action BuildWholeSolutionAction autocmd BufWinLeave *.* mkview autocmd BufWinEnter *.* silent loadview set viewoptions-=options set nohlsearch command! DD action CloseAllEditorsButActive command! Dd action CloseAllEditorsButActive command! Qa action CloseAllUnmodifiedEditors command! QA action CloseAllUnmodifiedEditors " Save with sudo cnoremap w!! execute 'silent! write !sudo tee % >/dev/null' edit! set ideajoin