I have a yasnippet
with # binding: TAB f o o
in the header. This is processed by the yasnippet
library as 9 102 111 111
. With respect to a keymap of a major-mode, both \C-i
and (kbd "TAB")
are converted to the number 9 when said keymap is set up. However, both [(tab)]
and (kbd "<tab>")
are converted to tab
when the the major-mode keymap is set up.
A yasnippet with a key binding in the header consisting of TAB f o o
will not trump/supersede a major-mode keybinding of [(tab)]
or (kbd "<tab>")
.
Q: How can I set up two (2) different yasnippet
header keybindings to cover both situations that may exist in a particular major-mode; i.e., a major-mode key binding that uses a number 9 and also a key binding that uses a tab
?
Here is a link to a related thread, which is interesting, but does not go as far as I would like in order to be able to answer this question: What is the difference between TAB and <tab>?