Questions tagged [sudo]

The tag has no usage guidance.

2 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
20 views

How to debug Go code with Vimspector and delve as root?

I'm debugging some Go code with delve being called from the Vimspector plugin which generally works quite nice. I now have a situation where I would need to debug with being root. I've found this ...
0
votes
0answers
23 views

nvi: how to define a new command to write using sudo

In Vim, I can define the following command for writing a file using sudo: command! W :execute ':silent w !sudo tee % > /dev/null' | :edit! How do I define a similar command in nvi for saving using ...