The procedure needs to be followed is as follows: download GNU idutils 3.2d (mkid,lid,fid,fnid,xtokid) from uncompress and store these files in the directory from where Vim is running. goto the top level directory of the project, and run mkid, it will create ID file in that directory (As it is time consuming process, so be patient). copy this file ID to the directory from where Vim is running. USAGE: Put these lines in your vimrc: The mapping of "_u" and "_n" can be done to some other key as per your preference but I use ^K and ^L for this purpose.
Attributes | Values |
---|
rdfs:label
| - Search all files in project quickly
|
rdfs:comment
| - The procedure needs to be followed is as follows: download GNU idutils 3.2d (mkid,lid,fid,fnid,xtokid) from uncompress and store these files in the directory from where Vim is running. goto the top level directory of the project, and run mkid, it will create ID file in that directory (As it is time consuming process, so be patient). copy this file ID to the directory from where Vim is running. USAGE: Put these lines in your vimrc: The mapping of "_u" and "_n" can be done to some other key as per your preference but I use ^K and ^L for this purpose.
|
Version
| |
dbkwik:vim/property/wikiPageUsesTemplate
| |
Previous
| |
Text
| |
Author
| |
Complexity
| |
Created
| |
ID
| - 69(xsd:integer)
- 117(xsd:integer)
|
NEXT
| |
Rating
| |
abstract
| - The procedure needs to be followed is as follows: download GNU idutils 3.2d (mkid,lid,fid,fnid,xtokid) from uncompress and store these files in the directory from where Vim is running. goto the top level directory of the project, and run mkid, it will create ID file in that directory (As it is time consuming process, so be patient). copy this file ID to the directory from where Vim is running. USAGE: Put these lines in your vimrc: map _u :call ID_search()execute "/\\<" . g:word . "\\>" map _n :nexecute "/\\<" . g:word . "\\>" function ID_search() let g:word = expand("") let x = system("lid --key=none ". g:word) let x = substitute(x, "
", " ", "g") execute "next " . x endfun To use it, place the cursor on a word, type "_u" and Vim will load the file that contains the word. Search for the next occurrence of the word in the same file with "n". Go to the next file with "_n". The mapping of "_u" and "_n" can be done to some other key as per your preference but I use ^K and ^L for this purpose.
|