• pine@pawb.social
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    4 days ago

    M-d, aka alt+d

    Generally in emacs ctrl+whatever operates on characters, while alt+whatever operates on words. For example, you can do ctrl+f/b to go forward/backword a character, and alt+f/b to go forward/backward a word.

    • FauxLiving@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      4 days ago

      Oh yeah, that’s way better. Thanks!

      I’m using zsh and trying the emacs mode, that alt operates on words is the secret sauce I was looking for.