Prior to everything, you have to : apt install vim
"myFile" [crypted] 2L, 9C written
VimCrypt~01!���
myFile: Vim encrypted file data
Need encryption key for "myFile"
Enter encryption key: (taptaptap + )
"myFile" [crypted] 3L, 24C written
:x works fine here ()
Need encryption key for "myFile"
Enter encryption key: (taptaptap + )
"myFile" 3L, 24C written Doesn't mention "crypted" anymore:x saves without removing encryption
Enter encryption key: (taptaptap + ) Enter same key again: (taptaptap + again)
"myFile" [blowfish2] 3L, 24C written
Mode | Enter by pressing : | Leave by pressing : |
---|---|---|
Command or Normal | (at vi startup) | |
Input | [INSERT] or i | [ESC] (leave to Command mode) |
Replace | r | [ESC] (leave to Command mode) |