minigubben's lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Tibor@pawb.social to Programmer Humor@lemmy.mlEnglish · 2 years ago

i hate when this happens

pawb.social

message-square
88
fedilink
857

i hate when this happens

pawb.social

Tibor@pawb.social to Programmer Humor@lemmy.mlEnglish · 2 years ago
message-square
88
fedilink
  • abraham_linksys@sh.itjust.works
    cake
    link
    fedilink
    English
    arrow-up
    83
    ·
    edit-2
    2 years 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
      2 years 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.

      • FUsername@feddit.de
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 years ago

        While we’re at it: Alt+d deletes the next word.

    • dot20@lemmy.world
      link
      fedilink
      English
      arrow-up
      11
      ·
      2 years ago

      If you use WSL (which you should), you have a normal Bash, so it works

      • abraham_linksys@sh.itjust.works
        cake
        link
        fedilink
        English
        arrow-up
        23
        arrow-down
        1
        ·
        2 years 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

        • darcy@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          3
          ·
          2 years ago

          fed detected

    • somedaysoon@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 years ago

      https://ss64.com/bash/syntax-keyboard.html

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 257 users / day
  • 2.08K users / week
  • 2.52K users / month
  • 4.01K users / 6 months
  • 2 local subscribers
  • 36.4K subscribers
  • 1.75K Posts
  • 36.2K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • BE: 0.19.7
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org