• @[email protected]
    link
    fedilink
    22 years ago

    I feel this in my soul. Or when you realize you’re hitting up up up up to find something trivial like ls and it would have been more efficient to just type ls. LOL.

  • Open World
    link
    fedilink
    12 years ago

    I try to avoid the terminal as much as I humanly can because of ergonomic issues like this.

    • @[email protected]
      link
      fedilink
      English
      5
      edit-2
      2 years ago

      y… you do realise this is a meme, right? If you want to find a specific command that you ran in the past, you can just hit ctrl-r and search for it? No-one is actually spamming the up key, it’s a joke.

      • Open World
        link
        fedilink
        English
        12 years ago

        Huh, I never actually knew you could do that. But anyway, I disagree that people aren’t spamming the up key. At least in my experience, basically everyone I’ve ever seen use the terminal has always just spammed the up key to get the command they want. Many people don’t get around to using the shortcuts like the one you mentioned because they’re not really discoverable or obvious, so everything tends to become super painful and slow.

        Besides, my overall point was that there are all sorts of annoyances like the one mentioned in the post that keep me away from the terminal. Stuff like not being able to click anywhere within a long command to immediately move your cursor to it (yes I know you can just use Ctrl+Left Arrow to move back really quickly, but it’s just slow) or how Ctrl+C and Ctrl+V don’t actually work the way you expect them to.

    • @[email protected]
      link
      fedilink
      22 years ago

      I spend every day in a terminal, vim is my go to text editor lol. I can’t even imagine.

      Also, I have RSI and I invested in a good keyboard. It literally saved my wrists. Just saying, if you need it to pay the bills, invest in a good keyboard.

      • @[email protected]
        link
        fedilink
        1
        edit-2
        2 years ago

        What keyboard do u have btw? I recently built myself an ex-dactyl, and I absolutely loved it. The split layout actually lets my wrists be completely straight and relaxed, and the outward angle is preventing the wrist bones from crossing too much. It broke down a while ago tho, and I haven’t had the motivation to fix it tho, so back to bog-standard ANSI layout for now (¬_¬)

        • @[email protected]
          link
          fedilink
          12 years ago

          Sorry, I just looked at your image again and see it’s the same setup lol. You’ll love this keyboard (no I don’t work for them).

          • @[email protected]
            link
            fedilink
            English
            22 years ago

            Oh damn u got the kinesis advantage!! I don’t own one personally, but I had a chance to type on one at a keyboard store. Absolutely loved it. It felt pretty much the same as my ex-dactyl, apart from a different layout around the thumb clusters. It also took me a while to get used to the weird layout (especially considering that I never learned to touch type lol. On a standard keyboard, I pretty much just peck-type very fast), but once I got up to speed, it felt wonderful. I think I would prefer my ex-dactyl to the Advantage tho, simply because it is two separate pieces. Not that it offers a huge ergonomic boost or anything, I just like having the extra desk space in the middle to put my coffee on (/¯–‿・)/¯ .

            By the way, you can edit comments on lemmy, no need to reply twice. It’s under the meatball menu next to the reply button.

  • annoyed-onion
    link
    fedilink
    12 years ago

    I’ve just signed up to this site and I’m being personally attacked already. smh

  • @[email protected]
    link
    fedilink
    22 years ago

    Fish finally broke me of this habit, and now it’s one of the first things I install on any system

    • @[email protected]
      link
      fedilink
      22 years ago

      One of the top reasons I use fish is that I never learned how to cycle through the results of ctrl+r in bash

      • @[email protected]
        link
        fedilink
        12 years ago

        Friendly Interactive SHell. I also use it, and I find some of the extra features delightful. I don’t think it’s POSIX compliant if you’re one of the two dozen people who have to worry about that for your use case.

  • @[email protected]
    cake
    link
    fedilink
    42 years ago
    1. vim ~/.inputrc
    2. Paste the following:

    "\e[A": history-search-backward "\e[B": history-search-forward

    Thank me later

    • @[email protected]
      link
      fedilink
      12 years ago

      Man, I’ve been on unix systems since, oh, 1994, but I’ve never messed with my .inputrc … may need to take the dive…

    • overtinker
      link
      fedilink
      02 years ago

      Hey! Sorry just getting into Linux, I love learning about cool ways of doing things more efficiently. What does this do exactly? I’ve noticed others mentioning CTRL+R and I am not sure what that means either. Thank you!

      • @[email protected]
        cake
        link
        fedilink
        2
        edit-2
        2 years ago

        Basically, while ctrl+r is nice, this is how I got used to use my system. What this does is enable search for when you press arrow up. If you type nothing then it’s default behavior but if you type “ssh” and then start pressing arrow up it will bring up the previous command that had the word ssh in. It’s worth it for someone who constantly forgets ctrl+r exists

    • TheGeneral
      link
      fedilink
      12 years ago

      Ok this is actually great. Is there a way to make it so when you down arrow again it will clear the cmd line (or take it back to the prefix)?

      Like “py” -> up -> down -> result is “py”

      Currently it would show my last python command (or whatever matches).

  • @[email protected]
    link
    fedilink
    32 years ago

    I usually do ctrl+r but with zsh I can type the beginning of the command and press up and it will search that way too.