I want to edit Python Scripts and DTML methods with vim. The only way I found to work is to start vim, and on the vim command line enter this: Nread "ftp://localhost 7021/index_html" This download the file to vim, but at the top there's this text: "WARNING! 87 bare linefeeds received in ASCII mode" ... and on the bottom there's this: "File may not have transferred correctly." Can I get rid of these? I'm using vim 6.0z ALPHA. netrw.vim is version 2.10 -- Milos Prudek
a good way to use vim and zope is to use cadaver (a command line webdav client) and set your EDITOR environment variable to vim. you must enable the webdav source port (see z2.py) and point cadaver to it. jens On Thursday, April 4, 2002, at 11:49 , Milos Prudek wrote:
I want to edit Python Scripts and DTML methods with vim. The only way I found to work is to start vim, and on the vim command line enter this:
Nread "ftp://localhost 7021/index_html"
This download the file to vim, but at the top there's this text:
"WARNING! 87 bare linefeeds received in ASCII mode"
... and on the bottom there's this:
"File may not have transferred correctly."
Can I get rid of these? I'm using vim 6.0z ALPHA. netrw.vim is version 2. 10
-- Milos Prudek
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
That would be my recommendation as well. Plus WebDAV gives you locking. One tip that helped me get this to work right is to deny WebDAV access to anonymous. My cadaver didn't always authenticate me when it needed to without it. With it denied, it will make you log in right away, which is more secure anyhow. BTW: to rid yourself of extraneous EOL characters: %s/\r//g is effective... -Casey Jens Vagelpohl wrote:
a good way to use vim and zope is to use cadaver (a command line webdav client) and set your EDITOR environment variable to vim. you must enable the webdav source port (see z2.py) and point cadaver to it.
jens
On Thursday, April 4, 2002, at 11:49 , Milos Prudek wrote:
I want to edit Python Scripts and DTML methods with vim. The only way I found to work is to start vim, and on the vim command line enter this:
Nread "ftp://localhost 7021/index_html"
This download the file to vim, but at the top there's this text:
"WARNING! 87 bare linefeeds received in ASCII mode"
... and on the bottom there's this:
"File may not have transferred correctly."
Can I get rid of these? I'm using vim 6.0z ALPHA. netrw.vim is version 2. 10
-- Milos Prudek
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Jens Vagelpohl wrote:
a good way to use vim and zope is to use cadaver (a command line webdav client) and set your EDITOR environment variable to vim. you must enable the webdav source port (see z2.py) and point cadaver to it.
Absolutely correct advice. Thanks, Jens! -- Milos Prudek
participants (3)
-
Casey Duncan -
Jens Vagelpohl -
Milos Prudek