[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian-knoppix] Knoppix 3.2 bugs/suggestions



Am 18.03.2003 20:31:15, schrieb knopper@linuxtag.org (Klaus Knopper):
>> * In many situations one wants to edit a single config file in /etc
>>   which is linked to /KNOPPIX/etc. The obvious procedure is to replace
>>   the symlink with the regular file it points to and than edit the
>>   file. I wrote a small script "changeconf" for this task and would
>>   like to have it included in future versions of Knoppix:
>
>I'd rather prefer vim to have a "force overwrite" mode in which it
>deletes (or renames) the original file before saving a new one. Anyone
>knows if this is possible?

hm that made me play around with vim....
this works:

:set bkc=no
:w!

or in the long form: "set backupcopy=no"

how about adding a vimrc to roots home:

----begin "/root/vimrc" ----
set backupcopy=no
----------------------------------

chris




_______________________________________________
debian-knoppix mailing list
debian-knoppix@linuxtag.org
http://mailman.linuxtag.org/mailman/listinfo/debian-knoppix


Reply to: