dotar/SpaceVim.d/autoload/yadr-sudo-write.vim
2020-02-10 10:56:29 +08:00

4 lines
89 B
VimL

" w!! to write a file as sudo
" stolen from Steve Losh
cmap w!! w !sudo tee % >/dev/null