Overwrite the default shortcut

Somehow I need to overwrite the default shortcut, I found that is not possible. For example, the following code in my-init-texmacs.scm

(kbd-map (:mode in-math?)
         ("a var" "<beta>"))            

(kbd-map (:mode in-math-not-hybrid?) 
         ("a var" "<beta>"))          

Do a restart first after saving my-init-texmacs.scm. I want to change the default a tab behavior to input beta. But the code is not working. Usually I go to the installed directory to change math/math-kbd.scm directly.

Any idea why it is not possible to overwrite the default keybindings?

1 Like