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) andC-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+xkey 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-koverwrites 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.