• tal
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    3 days ago

    The default ones are the same as in emacs, so if you know emacs, you probably know them too, but Control-U kills (roughly equivalent to “cut” for non-emacs people) from the cursor to the beginning of the line, which emacs doesn’t do; that defaults to something like M-- M-1 C-k in emacs.

    If you’re a vi person, you can do set -o vi and use vi functionality. Hit Esc to go into vi-style command mode. Can then use stuff like ^ to go to beginning of line and such.

      • tal
        link
        fedilink
        English
        arrow-up
        2
        ·
        3 days ago

        That’d be equivalent. Emacs has a number of way to input arguments to functions.

        • nesc@lemmy.cafe
          link
          fedilink
          English
          arrow-up
          2
          ·
          3 days ago

          True, I forgot that it’s possible to pass argument with M-#. 😺