• eeleech@lemm.ee
    ·
    9 months ago

    These shortcuts aren't provided by the terminal or the shell but the readline library (or zle if you use zsh), which can be configured using the ~/.inputrc file.

    • Arthur Besse@lemmy.mlM
      ·
      9 months ago

      Some of these are provided by the readline library (ctrl-a/e/k/y etc), others are provided by the shell (ctrl-c, ctrl-z, etc), and others are the terminal emulator (ctrl-shift-c/v/n/t, etc).

  • mr_strange@discuss.tchncs.de
    ·
    9 months ago

    They missed my personal favourite:

    SHIFT + INSERT ... paste the content of the PRIMARY select buffer (currently selected text).

  • starman@programming.dev
    ·
    edit-2
    9 months ago

    Shortcuts for some different shells:

    • Nushell (reedline): nushell.sh/book/line_editor
    • Bash: (readline): gnu.org/software/bash/manual/html_node/Readline-Interaction
    • Fish: fishshell.com/docs/current/interactive#shared-bindings

    As you can see, most of them use shortcuts from Emacs and Vi