you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 1 year ago

From the arch wiki

sudo -e {file}

Set SUDO_EDITOR in your profile to the editor of your choice, benefit is it retains your user profile for that editor, it's also less to type. For stuff like editing sudoers you're supposed to use visudo to edit that. Others can probably give better/more thorough reasons to consider it.

  • source
  • parent