Is there a way to apply keybinding only on certain elements in syntax?
As in allowing alt-up
only inside a string to run change-case:upperFirst
, but not in numbers.
I tried to add this entry in the keymap file:
'.syntax--string':
'alt-up': 'change-case:upperFirst'
but doesn’t seem to work.