" Filename: vimrc " Author: Vistellar " Mail: vistellar@163.com set nocompatible " No Compatible autocmd! bufwritepost $MYVIMRC source $MYVIMRC " Load vimrc after write "" filetype off ""General setting filetype on filetype plugin on filetype indent on syntax enable syntax on set encoding=utf-8 set termencoding=utf-8 set fileencoding=utf-8 set fileformats=unix,dos,mac " set tabstop=4 set shiftwidth=4 set softtabstop=4 set smarttab set et set autoindent set smartindent set expandtab set modeline " Always show current position set number set ruler set cursorline " Statis line " Always show the status line " Format the status line " ""Setting for gui if has("gui_running") set guioptions-=m set guioptions-=T set guioptions-=r set guifont=Courier_New:h12:cANSI colorscheme freya endif