I thought it’d be a pain but installing programs through the terminal is actually so nice, I never would have expected it

  • ayyy@sh.itjust.works
    link
    fedilink
    arrow-up
    6
    ·
    1 day ago

    If you’re looking for a full list of these kind of navigation shortcuts, they all come from readline so read the man page for that. Or just look up the basic navigation of emacs which is what readline is mimicking.

    • kattfisk@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      6 hours ago

      A neat thing is that a lot of command line programs use readline. So learning and configuring it will also be useful in for example the Python REPL and calc.

      Here are some neat configuration options you can put in ~/.inputrc

      set completion-ignore-case on
      set show-all-if-ambiguous on
      set completion-prefix-display-length 9
      set blink-matching-paren on
      set mark-symlinked-directories on
      

      And if you are a sensible person who is used to vim

      set editing-mode vi
      set show-mode-in-prompt on