DrillCtg : Allows fast drill-down search across the pathnames in your ctags file
script karma |
Rating 49/15,
Downloaded by 1155 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Basil Shkara |
|
script type |
utility |
|
description |
DrillCtg allows drill-down search by character across the pathnames in your current loaded ctags file. Upon first launching DrillCtg, if a ctags file is currently set, it will parse it and create a Vim list (an array). This is a sorted array which contains all unique pathnames, able to searched quickly using Vim's match() function.
It uses Vim's complete-functions to provide a dynamically populated list of values which are updated on every keypress. You can then select which pathname to open.
If a ctags file is not currently set upon launching DrillCtg, it will prompt you for the location of one.
If you set a different ctags file, upon the next call to DrillCtg, it will replace the contents of the old array with the new pathnames.
Currently this plugin only supports 1 loaded ctags file at a time. If you have more than 1 ctags file loaded, it is likely that this plugin will not work.
I created this plugin because I wanted something similar to Eclipse's Navigate > Go To > Resource dialog box. I find this implementation a lot faster than Eclipse when dealing with several thousand unique pathnames.
DrillCtg requires Vim 7. |
|
install details |
1. Drop the plugin file (drillctg.vim) into your plugins directory.
2. Restart Vim to load DrillCtg.
3. To open the search box you can use the ":Drill" command.
4. To close the search box hit <Esc> and then :q or the :Drill command. |
|
script versions (upload new version)
Click on the package to download.
drillctg.vim |
1.1.3 |
2008-02-16 |
7.0 |
Basil Shkara |
Now checks if existing tag file is readable before prompting for new tags file.
|
drillctg.vim |
1.1.2 |
2007-09-23 |
7.0 |
Basil Shkara |
Added autocommand to clean up after unloading buffer.
Now uses new tab rather than new buffer to clean up ctags file resulting in cleaner exit. |
drillctg.vim |
1.1.1 |
2007-09-11 |
7.0 |
Basil Shkara |
Fixed bug that occurs when quitting.
Added support for Takeshi Nishida's autocomplpop.vim.
Plugin now cleans up after itself as it should. |
drillctg.vim |
1.1 |
2007-09-10 |
7.0 |
Basil Shkara |
New implementation using Vim's complete-functions. The interface is now a dynamically populated list which is updated on every key press. |
drillctg.vim |
1.0.1 |
2007-09-08 |
7.0 |
Basil Shkara |
Added version checking and small bug fixes |
ip used for rating: 3.145.206.169
|