" automatically reload vimrc when it's saved au BufWritePost .vimrc so ~/.vimrc
" make :W to :w cnoreabbrev W w
" retab and save map <leader>rt :retab!<bar>:w<cr>
au FocusLost * :wa
inoremap ;; <esc><right> nmap ; : cabbrev ; update
" use :W to force saving a file com! W :w !sudo tee %
noremap <C-S> :w<CR> noremap <C-S> <ESC>:w<CR><Insert>