Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

vim sudo write

For Neovim: https://github.com/lambdalisue/suda.vim

"In init.vim
Plug 'lambdalisue/suda.vim'

Run :SudaRead
It will prompt for password when you next try to :w
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #vim #sudo #write
ADD COMMENT
Topic
Name
4+6 =