remarkable

folioKeys: Emacs keybinds for the Type Folio

Emacs editing chords, Caps Lock as Ctrl, an opt-key layer, accelerating key repeat and a working backtick on the reMarkable Paper Pro's Type Folio. A standalone keyboard daemon; no xovi needed.

US$20 · one-time payment · instant download

For Paper Pro · tested on firmware 3.26.0.68

What it is

folioKeys puts the keyboard shortcuts I use every day on the reMarkable Type Folio: Emacs-style motion and editing in your typed text, Caps Lock as Ctrl, an extra layer on the opt key, key repeat that speeds up the longer you hold a key, and an Esc key that types the ` and ~ the stock keyboard can't produce.

It is a standalone keyboard daemon (keyd, included). It doesn't patch the reMarkable app and doesn't need xovi. keyd only reads the Type Folio and passes the remapped keys on to the tablet. It keeps no log and sends your keystrokes nowhere.

The binds

C- means hold Ctrl or Caps Lock. opt is the left opt key. Each chord is named by the letter it stands for; on the Dvorak layout you press the key that types that letter. "Confirmed" means I have seen it work on my own Paper Pro (firmware 3.26.0.68, Dvorak layout). Everything else is marked not yet confirmed on a tablet.

Key or chord Does Confirmed
Caps Lock (hold) Ctrl, for the chords below yes
Caps Lock (tap) Ctrl+Esc, which never leaves the document yes
Esc / Shift+Esc types ` / ~ yes (en_US keyboard)
C-b · C-f · C-p · C-n left · right · up · down yes
C-a · C-e start · end of line not yet
C-d delete forward yes
C-Backspace delete the previous word yes
C-k cut to the end of the line (C-y pastes it back) not yet
C-y · C-w paste · cut yes
C-/ undo yes
C-g cancel the selection yes
C-Space selection mode: C-b/f/p/n extend the selection yes (C-a/C-e extend: not yet)
C-x (tap) cut not yet
opt+w copy yes
opt+, · opt+. top · bottom of the page yes
opt+Backspace delete the previous word yes
alt-opt+Backspace delete the whole line (the native Alt+Backspace) not yet
any held key repeat that speeds up (400 ms, then 60 ms down to 12 ms) yes

The reMarkable's own Alt shortcuts are untouched. BINDS.md in the download lists every bind with what it sends, where it works and what it overrides.

Layouts

QWERTY by default, Dvorak with --dvorak. I've confirmed the QWERTY default on my Paper Pro. Run the installer again with the other flag to switch.

Install

Copy the folder to the tablet over USB and run install.sh (or install.sh --dvorak). The installer checks that it is on a Paper Pro and validates the config with keyd check before changing anything. Then it backs up any keyd setup you already have, installs keyd and starts it.

How it persists. keyd and its config live in /home/root and survive everything. The systemd unit lives in /usr/lib, the only write outside /home/root, because the Paper Pro's /etc resets on every reboot; the unit survives reboots. Run the installer again after a firmware update or a system partition switch. Either one leaves the folio on the stock keyboard until you do. Your config is kept.

Uninstall with install.sh --uninstall. Add --restore to put back the keyd setup you had before folioKeys (for example emacsgui's). I've tested --uninstall --restore on my Paper Pro: it put the earlier keyd setup back and kept your config in /home/root/keyd. If the keyboard ever misbehaves, ssh root@10.11.99.1 systemctl stop keyd turns it off. SSH doesn't depend on the folio.

Requirements

  • reMarkable Paper Pro (11.8") with the Type Folio. Tested on firmware 3.26.0.68.
  • Developer mode on (SSH as root). xovi is not required.
  • Paper Pro only. The Move is untested and the installer refuses to run on it.

Caveats

  • Esc no longer leaves a document or closes dialogs: it types `. Leave with the on-screen close button.
  • The bind table was checked on Dvorak, which I type. On QWERTY I have confirmed the layout itself; the chords are the same config, but I haven't checked each one on QWERTY.
  • Some chords do nothing on a stock tablet. My config includes rotate (C-r, alt-opt+r), rotation lock (alt-opt+l), recentre (C-l), centred paste (opt+p), word motion (opt+f/opt+b) and C-x C-s. They send shortcuts that only my own add-ons handle, and I don't sell those add-ons. I left them in; without the add-ons they should do nothing.
  • textBoxes: folioKeys 1.0 doesn't include the opt+x key I use to open the textBoxes command palette. textBoxes has its own key for it.
  • With emacsgui: both use keyd, and only one config is active at a time. Installing folioKeys replaces emacsgui's keyd build and config with its own (both are kept in the backup), so Emacs receives folioKeys' remapped keys rather than raw Ctrl and Meta. For raw Ctrl in Emacs, run install.sh --uninstall --restore. Don't install or uninstall while FastTerm or emacsgui is open.
  • C-k overwrites the clipboard. Typed text has no word-by-word motion in the stock app, and [ ] { } can't be typed in its own text fields (they are dead accents on the en_US keymap).

Pairs with ZStream

ZStream streams your Paper Pro to a browser. Its screen keys (new in 1.3.0, off by default) caption your Type Folio shortcuts on the stream as you press them, so viewers can follow along.

what you get

  • keyd keyboard daemon (v2.6.0-rmpp-clean, static aarch64) with its MIT licence, patches and build script
  • QWERTY and Dvorak configs
  • install.sh (install, switch layout, uninstall, restore)
  • Esc-key helper and systemd unit
  • README, BINDS.md (the complete bind reference) and THIRD-PARTY.md
  • Owner's manual (MANUAL.pdf, 7 pages)

customers also viewed

  • textBoxes

    Type Markdown, LaTeX maths and org-mode tables on the Type Folio and press Render. The result is typeset straight onto your page, next to your handwriting, and the official reMarkable apps show it too.

    US$100

  • ZStream

    Show your Paper Pro or Paper Pro Move screen live, in full colour, in any browser on your network, with a laser dot that follows your pen and the tablet's toolbar and pickers kept off the stream. Nothing to install on the viewing side.

    US$26

  • emacsgui

    Real GNU Emacs 30.1, graphically, on the reMarkable Paper Pro: Xvfb, an e-ink framebuffer pusher and a raw Type Folio keyboard bridge. Built for firmware 3.26.0.68 exactly. It is a one-time snapshot with no updates planned.

    US$37

  • FastTerm

    A fast native terminal for the reMarkable Paper Pro.

    US$24

  • knockCode

    Replaces the PIN keypad on your reMarkable Paper Pro lock screen with an LG-G2-style 2×2 knock grid. Tap the quadrants in your pattern to unlock. The knock maps onto your native passcode, so hashing, lockout and recovery all still apply.

    US$8

license

Sold under a personal-use license: yours to use on your own devices, not to redistribute.

attribution

keyd v2.6.0 by Raheman Vaiya (MIT), shipped with small patches; source patches and build script included