If in nvim and the SUDO_ASKPASS environment variable is set then a WW mapping will expand to :w !sudo -A tee % >/dev/null If in not-neo vim, the -A is omitted. The environment variable is also set. Some unused environment variables were also removed. https://stackoverflow.com/questions/2600783/how-does-the-vim-write-with-sudo-trick-work https://github.com/neovim/neovim/issues/12103 |
||
---|---|---|
.. | ||
bash | ||
shared | ||
zsh |