AmaiKinono / puni

Structured editing (soft deletion, expression navigating & manipulating) that supports many major modes out of the box.
GNU General Public License v3.0
403 stars 21 forks source link

for puni keys, use remap rather than key codes #11

Closed JJPandari closed 3 years ago

JJPandari commented 3 years ago
AmaiKinono commented 3 years ago

I'm afraid this brings more trouble than it's benefit.

You've already noticed there may exist different commands that are meant to "do the same thing" for the user:

(define-key map [remap backward-delete-char] 'puni-backward-delete-char)
(define-key map [remap backward-delete-char-untabify] 'puni-backward-delete-char)

Evil is just another example.