Created
January 13, 2013 00:56
-
-
Save alpaca-tc/4521470 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"---------------------------------------- | |
" vim-ref | |
"---------------------------------------- | |
"{{{ | |
let g:ref_open = 'split' | |
let g:ref_refe_cmd = expand('~/.vim/ref/ruby-ref1.9.2/refe-1_9_2') | |
nnoremap rr :<C-U>Unite ref/refe -default-action=split -input= | |
nnoremap ri :<C-U>Unite ref/ri -default-action=split -input= | |
aug MyAutoCmd | |
au FileType ruby,eruby,ruby.rspec nnoremap <silent><buffer>KK :<C-U>Unite -no-start-insert ref/ri -input=<C-R><C-W><CR> | |
au FileType ruby,eruby,ruby.rspec nnoremap <silent><buffer>K :<C-U>Unite -no-start-insert ref/refe -input=<C-R><C-W><CR> | |
aug END | |
"}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment