Update vimrc

set noswapfile and add smartindent , cindent