5

I came across the following line in a .emacs config file:

(define-key scheme-mode-map "\e\t" 'scheme-smart-complete)

It's binding key sequence \e\t to the function scheme-smart-complete, but I don't know what \e is, and it turns out it's impossible to Google (even putting quotes around \e didn't help with the search).

What's \e?

SuperElectric
  • 17,548
  • 10
  • 52
  • 69
  • I know this question is for emacs, but if you're here looking for what `\e` means in `zsh`, it can either be the escape *or* alt key – Max Coplan Jan 07 '22 at 20:39

1 Answers1

7

It's the escape key.

See the emacs basic character syntax guide.

So \e\t is escape-tab.

ian.

ipd
  • 5,674
  • 3
  • 34
  • 49