Changing from a distro that defaults to nano to another that defaults to vim... What to do other than installing nano and changing visudo?

you are viewing a single comment's thread
view the rest of the comments
[–] 19 points 4 months ago* (3 children)

Nano, because it's the only one I can remember how to quit from without power cycling the computer.

  • source
  • hideshow 3 child comments
  • [–] 1 point 4 months ago

    You are in edit mode and you need to get out of it. Press ESC, and then colon which will show in the text area at bottom of window. If you want to save, push w, then q and the enter to quit. If you want to quit without saving, you have to force with !.

    Escape, colon, (W)ith save, (Q), Enter

    Or

    Escape, colon, (Q)uit, !, Enter

    If you just want to use the text editor commands, you just do escape to be able to enter text on the line.

  • source
  • parent