• abraham_linksys
    link
    fedilink
    English
    arrow-up
    83
    ·
    edit-2
    1 year ago

    Ctrl+a - go to beginning of line (alpha? I dunno)

    ctrl+e - go to (e)nd of the line

    alt+f - (f)orward one word

    alt+b - (b)ack one word

    You might already know these but no one else has posted them on this thread yet. I work in both Linux and Mac a lot and this works for them. No idea about Windows I’m no longer forced to use it at work 🙂

    • NaiveBayesian@programming.dev
      link
      fedilink
      English
      arrow-up
      15
      ·
      edit-2
      1 year ago

      Also Ctrl + w to delete one word backwards (which is what OP wants to do).

      Edit: Nvm I misread the post, deleting is not what OP wants to do. Still gonna keep this because Ctrl + w is easily the readline shortcut I use the most.

      • abraham_linksys
        link
        fedilink
        English
        arrow-up
        24
        arrow-down
        1
        ·
        1 year ago

        The best part of Windows is the part that isn’t Windows lmao lawd I’m glad I don’t work for the federal government (exclusively Microsoft) anymore