You have to set the key to a blank before saving it again. :set key= This is in the vim help documents (:help encryption). Maarten Broekman > -----Original Message----- > From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list- > bounces@xxxxxxxxxx] On Behalf Of Cameron Simpson > Sent: Wednesday, August 19, 2009 3:43 AM > To: General Red Hat Linux discussion list > Subject: Re: vim > > On 18Aug2009 20:00, Raj Har <raj4list@xxxxxxxxx> wrote: > | when we create file using "vim -x filename" with > | password... > | now i wanna remove password from file.....anybody can help me?? > > Have you tried just writing the file content out to another file from > inside vim: > > :w other-file.txt > > Cheers, > -- > Cameron Simpson <cs@xxxxxxxxxx> DoD#743 > http://www.cskk.ezoshosting.com/cs/ > > We've all heard that a million monkeys banging on a million typewriters > will eventually reproduce the works of Shakespeare. Now, thanks to the > Internet, we know this is not true. > - Robert Wilensky of the University of California > See also: RFC2795 > > -- > redhat-list mailing list > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe > https://www.redhat.com/mailman/listinfo/redhat-list -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list