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
[–] 0 points 4 months ago (11 children)

That's who micro exist. And is so much better.

  • source
  • parent
  • hideshow 11 child comments
  • [–] 11 points 4 months ago (10 children)

    nano still wins. All the shortcuts are listed at the bottom.

  • source
  • parent
  • hideshow 10 child comments
  • [–] 1 point 4 months ago* (9 children)

    Micro doesn't need to list the shortcuts because it uses similar shortcuts to notepad and you don't have to do weird ctrl+x to exist but ctrl+q (for quit). Also copy and pasting isn't a nightmare in it.

  • source
  • parent
  • hideshow 9 child comments
  • [–] 4 points 4 months ago (8 children)

    Copy and paste in nano work just fine - no clue what you're talking about. It uses standards established in the '80s - Ctrl-X for eXit being an even older standard - and clearly lists them visibly for a quick reminder.

  • source
  • parent
  • hideshow 8 child comments
  • [–] 1 point 4 months ago (7 children)

    Yeah cutting text with ctrl+k instead of ctrl+x (because that's exit) and copying with alt +6 instead of ctrl+c.

    Le

    Mao.

  • source
  • parent
  • hideshow 7 child comments
  • [–] 3 points 4 months ago

    In emacs ctrl+y is paste, which is weird to me because i'm pretty sure even in emacs the logic is that y stands for yank, but in every other program i've used so far yank means copy, not paste. In the end though i feel like muscle memory from other editors don't bother me as much, and i can learn multiple at the same time. I started with evil mode for vim bindings for a short while, but now i'm diving into pure emacs bindings.

  • source
  • parent
  • [–] 2 points 4 months ago (5 children)

    Yeah, that's what the shortcut hint shows, champ.

  • source
  • parent
  • hideshow 5 child comments
  • [–] -3 points 4 months ago (4 children)

    Why doesn't my Lemmy comment box show shortcut hints? How will I know the shortcut for copy, cut and paste? I tried pressing alt+6 but it did nothing. Curse you Ecmascript from 1997!

  • source
  • parent
  • hideshow 4 child comments
  • [–] 1 point 4 months ago (3 children)

    Which command-line program are you using to access Lemmy?

  • source
  • parent
  • hideshow 3 child comments
  • [–] -3 points 4 months ago (2 children)

    Should only command line programs show their keyboard shortcuts?

  • source
  • parent
  • hideshow 2 child comments