ref-gene is a vim-ref source for Vim.
This plugin depends on some following softwares.
If you use NeoBundle, you write the following settings to your .vimrc.
NeoBundle 'Jagua/vim-ref-gene', {
\ 'depends' : 'thinca/vim-ref',
\ 'commands' : 'Ref',
\ }
let g:ref_gene_dict_path = '~/.vim/dict/gene.txt'
nnoremap ,eg :<C-u>Ref gene<Space>set the path of gene.txt to g:ref_gene_dict_path.
refer to dicwin-vim for using under utf-8.
NeoBundle 'osyo-manga/vim-automatic', {
\ 'depends' : 'osyo-manga/vim-gift',
\ }
let g:automatic_config = [
\ {
\ 'match' : {
\ 'filetype' : 'ref-gene',
\ 'autocmds' : [ 'FileType' ],
\ },
\ 'set' : { 'height' : 2 },
\ },
\ ]
NeoBundleLazy 'Jagua/vim-ref-gene', {
\ 'depends' : 'thinca/vim-ref',
\ 'commands' : 'Ref',
\ }
if neobundle#tap('vim-ref-gene') "{{{
let g:ref_gene_dict_path = '~/.vim/dict/gene.txt'
nnoremap ,eg :<C-u>Ref gene<Space>
nnoremap <silent> frg :<C-u>Unite ref/gene -start-insert -default-action=split -create -auto-preview -default-action=preview -no-quit -keep-focus<CR>
endifg:ref_gene_dict_path specifies the path to gene.txt.
If g:ref_gene_dict_path is not specified, ref-gene looks for gene.txt in &rtp/dict/.