Skip to content

Instantly share code, notes, and snippets.

@therubymug
Created May 17, 2010 15:08
Show Gist options
  • Save therubymug/403867 to your computer and use it in GitHub Desktop.
Save therubymug/403867 to your computer and use it in GitHub Desktop.
if (has('gui_running'))
set guifont=Monaco:h16
set guioptions-=T
set columns=120
set lines=70
set number
colorscheme vividchalk
endif
set ts=2
set sw=2
set smarttab
set splitright
set splitbelow
set visualbell
iabbrev rde require 'ruby-debug'; Debugger.start; debugger
nnoremap <silent> <C-K> :%s/\s\+$//e<CR><C-K>
nnoremap K k
xnoremap K k
augroup RO
autocmd!
autocmd FileType css setlocal foldmethod=indent
autocmd FileType markdown setlocal nolist
augroup END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment