Skip to content

Jagua/vim-ref-gene

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

ref-gene

ref-gene is a vim-ref source for Vim.

This plugin depends on some following softwares.

Installation

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.

Advanced Setting

        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>
        endif

Variables

g: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/.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors