[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delegating user-reserved key binding space definition to users

From: Ihor Radchenko
Subject: Re: Delegating user-reserved key binding space definition to users
Date: Fri, 25 Nov 2022 03:31:17 +0000

Psionic K <psionik@positron.solutions> writes:

> Abstract commands are just command remap targets in the global map.  The
> concrete global commands would directly command remap in the global map.
> Abstract command bindings would be consumed when modes generate keymaps for
> major & minor modes.  A Corfu map generator would for example see an
> abstract command like "user-next" bound with the C-n sequence and choose to
> shadow C-n in its map.  If the user rebinds the global abstract command,
> the other modes could easily follow this change, perhaps even though a hook
> to immediately propagate the change.


Anyone who tried to re-bind default bindings for, say, C-n/C-p/n/p might
be familiar what the problem with current Emacs approach is. It is very
annoying to keep tweaking every single package bindings out there and
also deal with cascading key collisions.

Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]