>>107624384
Just write your own modal mode. The concept is much simpler than these packages do. You need at least 2 states for "command" and "movement" (and maybe more if you like).
Here is the entire of my modal mode. 38 lines in total.
;; -*- lexical-binding: t; -*-
(defvar fly-high-command-map (make-keymap))
(defvar fly-high--deactive-command-mode-func
nil)
(defun fly-high-command-mode-start ()
(interactive)
(when fly-high--deactive-command-mode-func
(funcall fly-high--deactive-command-mode-func))
(setq fly-high--deactive-command-mode-func
Comment too long. Click here to view the full text.