1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | " 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
|
x