문제

I want to bind M- to a function. Here's how

(define-key global-map [(meta insert)] 'vi-open-line)

But when I press M- Emacs says ESC <insertchar> is undefined.

I use Emacs 23 on an Amazon EC2 linux. I work via Putty ssh client.

How can I make M- work?

Thank you.

도움이 되었습니까?

해결책

Emacs is helping you. Try this:

(global-set-key (kbd "ESC <insertchar>") 'vi-open-line)
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top