Is there some software I could use in gnome to emulate emacs prefix keys?

My idea would be to bind it to, say, “C-Super-X” and then the program would wait for my next keystroke… Depending on my next keystroke, some action would be done.

A little bit like “read -sn 1” in bash.

I suppose a bash script would be impractical, since it would only work if the mouse happened to be over the terminal window… maybe forcing the terminal to full screen… Also it might be too slow.

  • bahmanm
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Had no idea such a thing existed!
    I’m going to give it a shot and see how it plays along w/ my Gnome desktop (or the other way around actually.)

    • joey@lemm.ee
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      There’s a Wayland one written in rust.(link). Though I’m not sure how good it’s now.

      • NinguemOP
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Sadly, not in Debian testing. Not in main, at least.