Vim
$ cat << EOF > ~/.vimrc
syntax on
set showmatch
set autoindent
set smartindent
set smarttab
set expandtab
set number
set ts=4
set sw=4
set sts=4
#set softtabstop=4
#set noautoindent
EOF
$ cat << EOF > ~/.vimrc
syntax on
set showmatch
set autoindent
set smartindent
set smarttab
set expandtab
set number
set ts=4
set sw=4
set sts=4
#set softtabstop=4
#set noautoindent
EOF