Friday, April 23, 2010

Re: netrw not working for me with Cygwin + Vim 7.2

Kablooie!! wrote:
> Hey all,
>
> This is probably a newbie question, but I've done some searching
> around and documentation reading and I just can't seem to get it
> working.
>
> The problem is that I've got a fresh install of cygwin, which includes
> vim 7.2. I'm "pretty" sure that includes the appropriate version of
> netrw module. But when I try:
>
> vim scp://machine_name//path/to/file
>
> Vim comes up with "~/scp:/machine_name:/path/to_file" [New DIRECTORY]"
> in the bottom of the window.
>
> It looks to me like the netrw module isn't being called in this case.
>
> Thinking I may have messed something up in my .inputrc, .vimrc,
> or .vim directry, I moved them all aside to "test.inputrc", etc.
>

Hello!

Please bring up vim and try

:scriptnames

Does netrw show on that list? Alternatively, type

:echo g:loaded_netrwPlugin
:echo g:loaded_netrw

If the first one gives an error message about an undefined variable,
then netrw's plugin/ script hasn't been loaded. If the second one gives
an error message, then netrw's autoload/ script hasn't been loaded yet.
The latter one isn't loaded until its asked for, though (via a command
that invokes it, such as :e .).

Do you have

filetype plugin on

in your .vimrc? This command enables plugins (and if you also want
indent scripts, then you might prefer filetype plugin indent on).

Regards,
Chip Campbell

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Subscription settings: http://groups.google.com/group/vim_use/subscribe?hl=en

No comments:

Post a Comment