it is cool, I set path+=my_pm_dir, and it works now. thanks.
On 6/21/06, Yegappan Lakshmanan <[EMAIL PROTECTED]> wrote:
Hello, On 6/21/06, Ken Perl <[EMAIL PROTECTED]> wrote: > hi, > suppose I have a perl file like this, > use AutoProfiler; > > If I move the cursor to the module name AutoProfiler and then split a > new window to open the file, and search the file in @INC, is that > possible to do this in VIM? > The perl file type plugin sets the 'include' and 'includeexpr' options to support jumping to @INC files using the 'gf' command. Do you have filetype plugins enabled? You can check whether loading filetype plugins is enabled or not by using the following command: filetype To enable loading filetype plugins, add the following line to your .vimrc file: filetype plugin on The above assumes that you have enabled file type detection. To enable file type detection, use filetype on After doing the above, load a perl file and check the output of the following commands: :set filetype? :set include? :set includeexpr? :set path? You can now use the gf, CTRL-W_f and CTRL-W_gf command to jump to the file under cursor. - Yegappan
-- perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"[EMAIL PROTECTED] ")'
