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

  • BradleyUffner@lemmy.world
    link
    fedilink
    English
    arrow-up
    20
    arrow-down
    1
    ·
    6 days ago

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

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