Dotfiles/nvim/.config/nvim/plugin
Jonathan Hodgson 1daa851d98 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
..
deoplete.vim VIM: Closes preview window after completion 2021-09-07 16:59:55 +01:00
firevim.vim VIM: adds firevim config 2020-12-21 16:16:37 +00:00
fzf.vim VIM: Makes fzf open in a floating window rather than as a split 2020-10-06 13:21:15 +01:00
mappings.vim Adds sudo writes to nvim 2021-11-16 14:29:20 +00:00
omnisharp.vim VIM: Setup ripgrep and inccommand 2021-07-30 10:50:27 +01:00
settings.vim Sets default fold method to indent 2021-09-07 16:59:24 +01:00
statusline.vim VIM: make filename in statusline 30 chars (maximum) 2020-12-21 16:15:30 +00:00