Emacs Notes
1 How to configure
- install emacs
- start emacs, read input C-h t
- learn elisp x in y minutes: https://learnxinyminutes.com/docs/elisp/
- I deeply use use-package/quelpa/quelpa-use-package, so grasp it. web: https://jwiegley.github.io/use-package/keywords
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