Skip to content

Instantly share code, notes, and snippets.

@PaulusTM
Created February 18, 2011 10:54
Show Gist options
  • Save PaulusTM/833538 to your computer and use it in GitHub Desktop.
Save PaulusTM/833538 to your computer and use it in GitHub Desktop.
gvimrc.local
" Basics
"set encoding=utf8
" Gui settings
"color molokai
"set guifont=Menlo:h12
"if has("gui_running")
" set guioptions-=T "Remove toolbar
" set transparency=0
" set guioptions=aAce
"endif
" NERDTree configuration
" let NERDTreeShowHidden = 1
"let NERDChristmasTree = 1
"let NERDTreeHighlightCursorline = 1
"let NERDTreeShowBookmarks = 1
"let NERDTreeStatusline = 1
"let NERDTreeSortOrder = ['\/$', '*', '\.swp$', '\.bak$', '\~$']
"let NERDTreeWinSize = 45
color cool_glow
"add some line space for easy reading
"set linespace=4
"disable visual bell
set visualbell t_vb=
if has("gui_macvim")
macmenu Window.Toggle\ Full\ Screen\ Mode key=<D-CR>
endif
nnoremap <silent> <C-f> :call FindInNERDTree()<CR>
"PeepOpen see: http://peepcode.com/products/peepopen
" works much better for me than every other fuzzyfinder variant
" if has("gui_macvim")
" "macmenu &File.New\ Tab key=<nop>
" nmap <silent> <Leader>t <C-W><Right><Plug>PeepOpen
" end
" Printing {{{
" Shows line numbers and adjusts the left margin not to be ridiculous
set printoptions=number:y,left:5pc,syntax:y
set printfont=Menlo:h8 " face-type (not size) ignored in PostScript output :-(
set printencoding=utf-8
" }}}
nmap <silent> <Leader>q :TlistToggle<CR>
let g:Tlist_Close_On_Select = 1
let g:Tlist_GainFocus_On_ToggleOpen = 1
let g:RspecBin = 'rspec'
nmap <silent> <Leader>s :RunSpec<CR>
nmap <silent> <Leader>S :RunSpecs<CR>
let g:RspecBundlerExec = 1
let g:ConqueTerm_TERM = 'xterm'
let g:ConqueTerm_CWInsert = 0
map <D-r> :call StartTermWithIRB()<CR>
" ConqueTerm wrapper
function StartTermWithIRB()
execute 'ConqueTerm irb'
setlocal listchars=tab:\ \
endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment