Skip to content

Instantly share code, notes, and snippets.

@chilversc
Created July 7, 2010 10:56
Show Gist options
  • Save chilversc/466555 to your computer and use it in GitHub Desktop.
Save chilversc/466555 to your computer and use it in GitHub Desktop.
vimrc
colorscheme ir_dark
if has("gui_macvim")
set fuoptions=maxvert,maxhorz
set guifont=Monaco:h14
set guioptions-=T
set stal=2
end
set anti
set columns=140 lines=40
set gtl=%t gtt=%F
set nocompatible
set encoding=utf-8
set laststatus=2
set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [ASCII=\%03.3b]\ [HEX=\%02.2B]\ [POS=%04l,%04v][%p%%]\ [LEN=%L]
set showcmd
set showmode
set noerrorbells
set novisualbell
set autoindent
set tabstop=4
set shiftwidth=4
set noexpandtab
set showmatch
set nohls
set incsearch
set scrolloff=4
set sidescrolloff=8
set nowrap
syntax enable
autocmd BufNewFile,BufRead *.vb set ft=vbnet
command! -nargs=1 -range SuperRetab <line1>,<line2>s/\v%(^ *)@<= {<args>}/\t/g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment