Monday, June 17, 2019

Re: encryption with vim

hmmmm it was so simple in fact...

Thank you very much!


On lun., 2019-06-17 at 20:38 +0200, Bram Moolenaar wrote:
> Mathieu Roux wrote:
>
> > I use encryption with vim.
> > I just do :X
> > and then i write 2 times my password.
> > After my file is crypted.
> >
> > 1) What about now, if i want to cancel encryption (i don't want
> > password anymore).
> > If i try set key=
> > it does not work: again the same password when i open vim again.
>
> You need to write the file:
> :set key=
> :write
>
> > 2) And what about now if i want to change password?
> > If i do :X in the open file, and enter 2 times my new password, it
> > is
> > the same... when i close the file and open it again, only the old
> > password is ok.
>
> Sounds like you are missing the write here as well.
>

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/cbe2829e2d1c4830d61d3f454cb2c656a6757aa2.camel%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments: