web-mode-edit-element icon indicating copy to clipboard operation
web-mode-edit-element copied to clipboard

Key binding for Shift-K

Open kenk-ccs opened this issue 6 years ago • 5 comments
trafficstars

The keybinding ("C-K" web-mode-edit-element-elements-kill-siblings) doesn't work under emacs 26.1 (perhaps others but I haven't tested). The capital K isn't interpreted as a shift-k chord; emacs sees it as a plain k and thus maps ctrl-k to web-mode-edit-element-elements-kill-siblings. The fix is to specify the chord explicitly: ("C-S-k" web-mode-edit-element-elements-kill-siblings)

kenk-ccs avatar May 29 '19 13:05 kenk-ccs

Thank you for your issue. Now it works for me.

Feel free to reopen the issue if it´s not working for you.

jtkDvlp avatar May 31 '19 08:05 jtkDvlp

The change should be applied to the M-K binding as well: M-S-K

kenk-ccs avatar May 31 '19 13:05 kenk-ccs

Yeah, I also expected that but control and meta bindings behave different. Do you have tried the M-K and M-k, for me it works?

jtkDvlp avatar May 31 '19 13:05 jtkDvlp

It wasn't working until I mapped it via M-S-k locally

kenk-ccs avatar May 31 '19 14:05 kenk-ccs

Mhh ok, I will research about this.

jtkDvlp avatar Jun 02 '19 15:06 jtkDvlp