Narayanan A R wrote:
> Hi,
> 
> I use to type ":e <folder path>" for opening a folder in VIM running
> on Windows and it used to work. However the same doesn't work any more
> for Linux. It opens only files. I am using Ubuntu 7.10.

Huh? Do you mean Vim 7.1.0 or 7.0.10? 7.10 (i.e. 7.10.0) isn't yet released -- 
if it ever will. The latest patchlevel AFAIK is 7.1.156.

Oh, maybe you mean "the version of Vim which comes with version 7.10 of 
Ubuntu"? Which Vim version is that? (What do you see when you type ":intro" 
without the quotes, in that version of [g]vim? The second nonblank line of the 
output ought to start with "version" -- which version does it mention?)

> 
> This feature is really helpful to navigate folder tree.
> 
> It will be really helpful, if someone can help me. I did not find any
> useful link on the net.
> 
> Thanks,
> Narayanan A R

With my version of Vim (7.1.156 with Bram's latest runtime files, compiled by 
myself, and running on openSUSE Linux 10.3), ":e <path>", e.g. ":e ./" 
(without the quotes of course), browses the path in question. In some cases it 
is important to end the path in a slash.

You might want to check the output of the ":scriptnames" command: does it 
include a line for the equivalent of $VIMRUNTIME/plugin/netrwPlugin.vim ? If 
it doesn't, "you have a problem". If it does, we can debug the problem further 
(after you use ":e <folder>", are there other lines in that listing with 
"netrw" somewhere in them? There ought to -- the netrw plugin, which provides 
directory-browsing capabilities in Vim 7, is made up of several scripts).


Best regards,
Tony.
-- 
%DCL-MEM-BAD, bad memory
VMS-F-PDGERS, pudding between the ears

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui