On Thu, Jan 18, 2007 at 02:15:36PM +1100, John Beckett wrote:
> Suggested new feature:
> Make an easy way to encrypt a secret within a line.
> Then you can have a simple text file to document stuff, with
> embedded secrets. On reading, you only need to enter a key if you
> want to see a secret.

I don't think this should be a general vim feature either.
Yet another idea to solve this:
Why not use syntax and set forgground/background color to the same value
to hide the text? Then you don't even notice that there is text.

eg 

hidden
Password:                $ <- end of line
revealed
Password: my secret pwd  $ <- end of line

you can use regexp to match secrets this way.

Marc

Reply via email to