Switching to Gnome from KDE

Dotan Cohen dotancohen at gmail.com
Fri Oct 13 20:14:23 UTC 2006


On 13/10/06, Eric Lemoine <eric.lemoine at gmail.com> wrote:
> For browsing on a remote host, "edit" a directory (but make sure that
> the directory name is followed by a "/"):
>
>         vim scp://hostname/
>         vim ftp://hostname/path/to/dir/
>
> See |netrw-browse| for more!
> ---
>
> >
> > Also, as soon as I hit "s" vi moves into insert mode, so I assume that
> > I must use:
> > e: scp://user:password@domain.com//
> >
> > Is this correct? Becasue it seems to connect, but I se no listing of
> > files. And when I try:
> > e: ls
> > Vi bothers to open a new file called "ls". What am I doing wrong?
>
> I just did:
>
> $vim scp://localhost/
>
> As expected, that opened vim and listed the content of /
>
> I also tried lauching vim and doing:
>
> :e scp://localhost/
>
> Again, it worked as expected.
>
> As indicated in vim's netrw online help, do not forget to add these
> two lines to your .vimrc:
>
> set nocp                " 'compatible' is not set
> filetype plugin on   " plugins are enable

I don't understand why this doesn't work for me:

dotancohen at ubuntu:~$ cat .vimrc
set nocp                " 'compatible' is not set
filetype plugin on   " plugins are enable
dotancohen at ubuntu:~$ vim scp://localhost/

~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~

            0,0-1         All




More information about the ubuntu-users mailing list