1

I found that when I press the tab key, the command I have bound to C-i gets run (somewhat unsurprisingly). I would like to keep this command bound to C-i but run a different one when pressing the tab key. I have found that I can do this within a keymap by defining (kbd <tab>)

Thanks to this Emacs.SE post, I found which keymap is responsible for it and that there is a global binding for tab. The keymap doesn't have (kbd <tab>) bound, but it's translated instead of falling through to the global binding.

How do I get it to fall through?

  • 2
    (kbd "<tab>") and [tab] are completely identical. – PythonNut Aug 5 '15 at 19:25
1

This comment provides a solution: bind the global (kbd "TAB") and (kbd "<tab>") to different things and Emacs will stop translating the keybinding.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.