Skip to content

Instantly share code, notes, and snippets.

@zeuxisoo
Created April 12, 2011 07:14
Show Gist options
  • Save zeuxisoo/915093 to your computer and use it in GitHub Desktop.
Save zeuxisoo/915093 to your computer and use it in GitHub Desktop.
simply vimrc
set ruler
set number
set hlsearch
set incsearch
set nocompatible
set backspace=start,indent,eol
set cin
set tabstop=4
set shiftwidth=4
"set smartindent
"set autoindent
set showmatch
set cursorline
set fileencodings=utf-8,ucs-bom
set termencoding=utf-8,ucs-bom
set encoding=utf-8
set history=400
set ignorecase
set nobackup
syntax on
set background=dark
colorscheme yzlin256
set syntax=php
set laststatus=2
set statusline=%4*%<\ %1*[%F]
set statusline+=%4*\ %5*[%{&encoding}, " encoding
set statusline+=%{&fileformat}%{\"\".((exists(\"+bomb\")\ &&\ &bomb)?\",BOM\":\"\").\"\"}]%m
set statusline+=%4*%=\ %6*%y%4*\ %3*%l%4*,\ %3*%c%4*\ \<\ %2*%P%4*\ \>
highlight User1 ctermfg=red
highlight User2 term=underline cterm=underline ctermfg=green
highlight User3 term=underline cterm=underline ctermfg=yellow
highlight User4 term=underline cterm=underline ctermfg=white
highlight User5 ctermfg=cyan
highlight User6 ctermfg=white
:set guioptions-=m "remove menu bar
:set guioptions-=T "remove toolbar
:set guioptions-=r
behave mswin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment