Simple question.With rarrar X file.tar -pmypassWith 7z7z X file.7z -pmypassVim can encrypt file using :Xand every time you want to open filemust use the password.The question is: is possible to pass the pass as argument like rar and 7z?A thing like thisvim filex.enc.txt -Pmypass
vim: is possible to open a encrypted file using cli?
vim;encryption
With --cmd you can give Vim a command to run before reading the file on the command line (as if it was part of your ~/.vimrc file).  By setting the key option to the value of the encryption key in this way, you may give the encryption key on the command line:$ vim --cmd set key=mysecretkey myencryptedfile