benjaminor / kkp

Emacs support for the Kitty Keyboard Protocol
GNU General Public License v3.0
39 stars 6 forks source link

`M-<backspace>` not working with Emacs and Kitty #13

Open swarnendubiswas opened 5 months ago

swarnendubiswas commented 5 months ago

I am using Emacs 29.3 and Kitty 0.35.1. I have installed kkp because a few key combinations do not work without it (Ctrl+').

M-<backspace> is defined to be (backward-kill-word) in Emacs. However, with kkp and Kitty, I get M-<backspace> is undefined. Could you please suggest how this can be fixed?

I see the behavior even without kitty.conf.

sashkachan commented 5 months ago

Same for M-, eg in org-mode-map

douo commented 3 months ago

Try this: (global-set-key (kbd "M-<backspace>") (lookup-key (current-global-map) (kbd "ESC DEL")))