Skip to content

Instantly share code, notes, and snippets.

@qickstarter
Created September 9, 2012 20:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qickstarter/3686943 to your computer and use it in GitHub Desktop.
Save qickstarter/3686943 to your computer and use it in GitHub Desktop.
"------------------------------------
" vim-rsense
"------------------------------------
"{{{
" Rsense
let g:rsenseUseOmniFunc = 1
let g:rsenseHome = expand('~/.vim/ref/rsense-0.3')
function! SetUpRubySetting()
setlocal completefunc=RSenseCompleteFunction
nmap <buffer>tj :RSenseJumpToDefinition<CR>
nmap <buffer>tk :RSenseWhereIs<CR>
nmap <buffer>td :RSenseTypeHelp<CR>
endfunction
autocmd FileType ruby,eruby,ruby.rspec call SetUpRubySetting()
"}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment