-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Open
Labels
Description
Steps to reproduce
- Open vim
- :set cm=xchacha20v2
- :X
- enter "test", confirm password
- :w test
- Quit vim
- Open vim
- :o test
- vim doesn't correctly decrypt the file (i.e. display an empty file), but shows the binary content of the encrypted file.
Expected behaviour
vim should be able to create an encrypted empty template i.e. a file that normal users could edit and save, without having to think about encryption technicalities or editing their vimrc files.
Version of Vim
VIM - Vi IMproved 9.2 (2026 Feb 14, compiled Feb 14 2026 12:17:29)
Environment
Operating system: Windows 11 [Version 10.0.22631.6199]
Shell: Powershell 5.1.22621.613
Logs and stack traces
Reactions are currently unavailable