SudoEdit.vim
SudoEdit.vim copied to clipboard
Edit Files using sudo or su or any other tool
On windows there are some problems one of them is that: fnmodify(path, ':p:8') return the part of the path that already exists. i.e. if `C:\Users\Public\vim_temp_15128.txt` does not exist but `C:\Users\Public`...
gives multiple errors, starting with creating the empty error file. see vim/vim#8600 workaround could be to use `:p:8` only on the existing directory and appending the new filename later (which...
Here is screencast for demo. I also run vim without configuration (-u NORC), the result is remain the same.  My environment ``` $ lsb_release -a No LSB modules are...