|
Revision 14010, 0.6 kB
(checked in by mootoh, 4 years ago)
|
|
add a bitclust patch.
|
| Line | |
|---|
| 1 | quick lookup the Ruby reference manual. |
|---|
| 2 | |
|---|
| 3 | == REQUIREMENT == |
|---|
| 4 | - Ruby Reference Manual (http://doc.loveruby.net/) |
|---|
| 5 | - Vim is compiled with Ruby (configured with --enable-rubyinterp) |
|---|
| 6 | |
|---|
| 7 | == INSTALL == |
|---|
| 8 | 1. prepare the reference manual: |
|---|
| 9 | |
|---|
| 10 | - download a copy of reference manual package. |
|---|
| 11 | - apply bitclust.patch in the top directory of unpacked manual: |
|---|
| 12 | % cd ruby-refm-1.9.0-dynamic |
|---|
| 13 | % patch -p0 < /tmp/refe2-vim/bitclust.patch |
|---|
| 14 | |
|---|
| 15 | 2. edit refe2.vim to set the bitclust path. |
|---|
| 16 | 3. copy refe2.vim into ~/.vim/ftplugin/ruby/ directory. |
|---|
| 17 | |
|---|
| 18 | == USAGE== |
|---|
| 19 | In editting a Ruby file, press "K" on the word to lookup its reference manual. |
|---|
| 20 | |
|---|
| 21 | == LICENSE == |
|---|
| 22 | MIT. |
|---|