Dotfiles/shells
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
..
bash Shell config changes 2020-03-11 12:56:06 +00:00
shared Adds sudo writes to nvim 2021-11-16 14:29:20 +00:00
zsh FZF: adds git bindings and toggle preview 2021-11-16 11:45:45 +00:00