Skip to content

Instantly share code, notes, and snippets.

@foru17
Created April 12, 2014 11:55
Show Gist options
  • Save foru17/10532115 to your computer and use it in GitHub Desktop.
Save foru17/10532115 to your computer and use it in GitHub Desktop.
" 基础
syntax on
set ai
set history=100
set hlsearch " 高亮搜索结果
filetype plugin on
set number "显示行数
set cursorline
set foldenable
set foldmethod=syntax
set mouse=a
set clipboard=unnamed
set matchpairs+=<:>
set laststatus=2
set autoindent
set smartindent " indent when
set tabstop=4 " 设置一个TAB字符长度
set softtabstop=4 " backspace
set shiftwidth=4 " indent width
set ignorecase " 搜索忽略大小写
set confirm " 当 :q, :w, 或:wq 失败的时候提示
" enable filetype dectection and ft specific plugin/indent
filetype plugin indent on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment