shuzhou-s
6/15/2017 - 1:51 AM

vimrc template

vimrc template

set nocompatible

" use pathogen to manage our plugins
execute pathogen#infect()
syntax enable
filetype plugin indent on
set nu

set ts=2
set sw=2
set expandtab
set smarttab

set nobackup
set noswapfile
set undofile
set history=1000
set ruler

set ignorecase
set smartcase
set incsearch
set hlsearch

if has('gui_running')
  set background=light
else
  set background=dark
endif
colorscheme solarized

if has('mouse')
  set mouse=a
endif

set encoding=utf8
set fileencoding=utf-8

set autoread
set wildmenu

set ai
set si
set wrap