Changes between Version 8 and Version 9 of VimInterface


Ignore:
Timestamp:
Apr 23, 2013, 6:57:11 PM (12 years ago)
Author:
manualwiki
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • VimInterface

    v8 v9  
    2828|| {{{ref_server_name}}} || name of the server node || 
    2929|| {{{ref_db_type}}} || the type of db backend || 
     30 
     31{{{#!comment 
     32To install the plugin, you can copy it to the vim ftplugin directory. The 
     33plugin contains 2 files: referl.py and referl.vim. For the plugin you also need 
     34python 2. You can download it from http://www.python.org. 
     35The For global installation, the ftplugin directory is usually located in 
     36{{{/usr/share/vim/vimVersion/plugin}}}, for local install copy the plugin to 
     37{{{HOME/.vim/plugin}}} directory. If you want to use the plugin only as filetype plugin then you should copy the files instead of plugin under ftplugin, and also add these lines to your .vimrc: 
     38 
     39{{{  
     40au BufNewFile,BufRead *.hrl source path/to/referl.vim 
     41au BufNewFile,BufRead *.erl source path/to/referl.vim 
     42}}} 
     43 
     44The .vimrc is located under {{{HOME}}}.  
     45 
     46Then you should set the variables in the referl.vim script: 
     47 
     48 * {{{ref_base_path}}}: you must enter the full path to the root directory of the tool.  
     49 
     50 * {{{ref_base_path}}}: you must enter the full path to the root directory of the tool.  
     51 
     52 * {{{ref_datadir}}}: you can change the location of the database here. 
     53 
     54 * {{{ref_name_type}}}: you can choose sname or name. 
     55 
     56 * {{{re_server_name}}}: this variable has to match with the !RefactorErl server.  
     57 
     58 * {{{ref_db_type}}}: here you can choose the database type !RefactorErl uses. 
     59 
     60}}} 
    3061 
    3162Since VIM interface is based on CLI it should be properly