Dotfiles/shells/shared
Jonathan Hodgson c9d1320b54 Adds sudo writes to nvim
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
2021-11-16 14:29:20 +00:00
..
aliases Stops forcing colour for jq 2021-11-16 11:18:45 +00:00
environmentVariables Adds sudo writes to nvim 2021-11-16 14:29:20 +00:00
functions list contents if I try and cat a directory 2021-11-16 11:20:15 +00:00