Skip to content

Instantly share code, notes, and snippets.

@myanbin
Created November 21, 2012 09:44
Show Gist options
  • Save myanbin/4124017 to your computer and use it in GitHub Desktop.
Save myanbin/4124017 to your computer and use it in GitHub Desktop.
图形界面的gVim配置文件
" The vim configuration file
"
" Author : Yanbin MA
" Date : 2011-04-09 07:00
" Don't use vi-compatible mode
set nocompatible
" Set backspace config
set backspace=indent,eol,start
set langmenu=en_US
let $LANG='en_US'
source $VIMRUNTIME/delmenu.vim
source $VIMRUNTIME/menu.vim
behave mswin
" Text, tab and indent related
set autoindent
set smartindent
set shiftwidth=4
set tabstop=4
set softtabstop=4
set smarttab
set expandtab
set wrap
set cindent
set lbr
set tw=500
set listchars=tab:>-,trail:-
" Color setting
syntax enable
colorscheme torte
set ignorecase
set hlsearch
set incsearch
" No sound on errors
set noerrorbells
set novisualbell
set t_vb=
set tm=500
filetype plugin on
filetype indent on
" Turn backup off
set nobackup
set noswapfile
set autoread
" Set how many lines of history IVM has remember
set history=200
set fileformat=dos
set number
set ruler
set showcmd
set so=7
set lines=36
set columns=120
set numberwidth=4
set guioptions-=T
set guioptions-=m
set guioptions-=r
set guifont=Consolas:h12
"set guifont=Lucida_Console:h10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment