Repository navigation
restricted mode (like rvim / rnano)
#16308
Unanswered
LunarLambda
asked this question in
Ideas
Replies: 1 comment
why this? |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
For use by root / under
sudo, or any situation where the editor being arbitrarily flexible is undesirable or problematic.For reference,
rvim/vim -Zdisables:I am aware of both the
:w !sudo tee % >/dev/nulltrick, andsudoedit, but there's plenty of situations where neither is applicable (files that aren't world-readable, systems that don't use sudo, situations where you're alreadyrootanyway). I think a restricted mode is a low-stakes, low-maintenance, never-wrong-to-have feature.All reactions