There is a new pull request by atweiden against master on the void-packages repository https://github.com/atweiden/void-packages vim-libsodium https://github.com/void-linux/void-packages/pull/39225 vim: build with +sodium feature xchacha20 XChaCha20 Cipher with Poly1305 Message Authentication Code. Medium strong till strong encryption. Encryption is provided by the libsodium library, it requires Vim to be built with |+sodium|. It adds a seed and a message authentication code (MAC) to the file. This needs at least a Vim 8.2.3022 to read the encrypted file. Encryption of swap files is not supported, therefore no swap file will be used when xchacha20 encryption is enabled. Encryption of undo files is not yet supported, therefore no undo file will currently be written. CURRENTLY EXPERIMENTAL: Files written with this method might have to be read back with the same version of Vim if the binary format changes later. #### Testing the changes - I tested the changes in this PR: **YES**|**briefly**|**NO** A patch file from https://github.com/void-linux/void-packages/pull/39225.patch is attached