it’s amazing…

try this:

  1. open up a text file
  2. Hit ESC (command mode)
  3. :X
  4. now vim / vi will ask you for a password
  5. if you know save and quit and reopen the file
  6. it detects that the file was encrypted (file starts with „VimCrypt~01!“) and will ask you again for that password 😀

if you open the file and type in a wrong password this is what you will get…

admin