vimenv

configure vim environment
git clone git://git.unixkoans.com/vimenv.git
Log | Files | Refs | Submodules

ruby.vim (279B)


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
"
" author:    Xu Xiaodong <[email protected]>
" modified:  2011 May 08
"

"-- ruby --"

" completion
let g:rubycomplete_buffer_loading=1
let g:rubycomplete_classes_in_global=1

" file header
autocmd BufNewFile *.rb call _ruby_head()

" map
nmap <leader>rb :call _ruby_head()<cr>