Emacs Notes

目录

1 How to configure

2 Funny Config

2.1 map

  • map character 'a' to 'a'

(global-set-key "c" '(lambda()(interactive)(insert-char 97))) Yes, now you press c will insert a, but how to restore ? use follow command: (global-set-key "c" 'self-insert-command)

In fact almost all basic alphanumeric use self-insert-command. OC