[vi] add/remove password on vi editor (vim) it’s useful for protecting personal code from others. (ref) just add “-x” option. $ vi -x test.txt then, inserts password, and confirms the password. done! So, Simple 🙂 <update> remove the password (ref) :set key= then, save it. Share this:Click to share on Twitter (Opens in new window)Click to share on Facebook (Opens in new window)MoreClick to share on LinkedIn (Opens in new window)Like Loading...