which vimdiff /usr/bin/vimdiff ll /usr/bin/vimdiff lrwxrwxrwx 1 root root 25 Jan 16 21:13 /usr/bin/vimdiff -> /etc/alternatives/vimdiff ll /etc/alternatives/vimdiff lrwxrwxrwx 1 root root 18 Jan 16 21:13 /etc/alternatives/vimdiff -> /usr/bin/vim.basic ll /usr/bin/vim.basic -rwxr-xr-x 1 root root 4.0M Jan 16 21:13 /usr/bin/vim.basic see it in file list
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) |