Vim is able to write files encrypted, and read them back. The encrypted text cannot be read without the right key.

This tag is for questions concerning Vim's Encryption feature (which is documented in :help encryption).

Questions about using the following commands and settings should use this tag:

  • :X
  • 'key'
  • 'cryptmethod'