this post was submitted on 15 Sep 2024
187 points (98.4% liked)

linuxmemes

21041 readers
645 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack members of the community for any reason.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn. Even if you watch it on a Linux machine.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now.

  • Please report posts and comments that break these rules!

    founded 1 year ago
    MODERATORS
     

    I'm so used to history completion

    top 7 comments
    sorted by: hot top controversial new old
    [–] unreachable@lemmy.world 27 points 1 month ago (1 children)
    [–] InverseParallax@lemmy.world 4 points 1 month ago

    I think he means ctrl-r.

    [–] Xanthrax@lemmy.world 20 points 1 month ago (1 children)

    I've never heard anyone call auto-complete "pageup." Where'd you learn that? I googled it, and it's all hiring platforms. I'm curious.

    [–] lurch@sh.itjust.works 20 points 1 month ago* (last edited 1 month ago) (2 children)

    it's actually called history-search-backward . it's configured in /etc/inputrc or ~/.inputrc . if you type the first few characters of a command in your shells history, then type page-up (that key on the keyboard; if configured for page-up, which is common), it searches the most recent command that started that way. press again for the second recent. i'm using it so much, i got used to the thought process "i type this often -> lets stop typing and use page-up". of course it can't work with passwords 😅 i should pay more attention to what i'm doing

    [–] bdonvr@thelemmy.club 20 points 1 month ago (1 children)

    I'm more of a control-R kinda guy

    [–] perry@lemy.lol 8 points 1 month ago

    fzf with ^R✨

    [–] Xanthrax@lemmy.world 4 points 1 month ago* (last edited 1 month ago)

    Oooooh. Thank you for the explanation.