I have a password in a text file. I'm editing the file in vim and I want to delete the password. If I just delete it, say with 'dw', it's stored in several registers. I want to avoid keeping any track of the password in vim.
The closest I managed to get is to use the black hole register: '"_dw' - this doesn't store the password in the usual registers, but it still remains in the '".' register.