-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot use sudo write #617
Comments
I have been using suda.nvim in the past (and currently), so this issue has not caused me much trouble, but I am curious if I am the only one facing this problem. |
I never try to force write a file with sudo before, will try if I got time. |
It should be: ["c|w!!"] = map_cmd("execute 'silent! write !sudo tee % >/dev/null' <bar> edit!"):with_desc("editn: Save file using sudo"), before. It works. |
That doesn't ask for password for me |
Yes, I set |
nvimdots/lua/core/mapping.lua
Lines 10 to 13 in fc1857b
This keymap does not work for me, what magic is used here to bypass neovim/neovim#1716
The text was updated successfully, but these errors were encountered: