[Yanel-dev] Vim configuration for Yanel development

Guillaume Déflache guillaume.deflache at wyona.com
Thu Apr 1 15:35:23 CEST 2010


Michael Wechner schrieb:
> Dear Guillaume
> 
> Thanks very much for sharing this.
> 
> Just being curious, but did I as a vi(m) user do anything wrong? Or is 
> just a general hint/pointer?

Oh no, sorry for the confusion: memo could not quite find how to do it, 
so I dug it up from my configuration files.


BTW any idea if there is an option to stop Vim from always adding a line 
ending for the last line of a file when it is missing?

For example:
$ echo -n foo > bar
$ vim bar # just save it as baz, i.e. :wq baz
$ env LANG=C diff -u bar baz
--- bar	2010-04-01 15:26:58.000000000 +0200
+++ baz	2010-04-01 15:29:20.000000000 +0200
@@ -1 +1 @@
-foo
\ No newline at end of file
+foo
$

This is the single thing I do not know how to control that makes Vim 
produces unwanted differences.
So all in all Vim is very fine for cooperative development indeed! :)


More information about the Yanel-development mailing list