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

  • ScoffingLizard@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    1
    ·
    5 days 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.