Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我如何重新绑定
1as4和4as6没有1成为6?
1
4
6
你的问题根本不清楚。你想达到什么目标?
如果要在按 1 时插入“4”:
(global-set-key (kbd "1") (lambda () (interactive) (insert "4"))) (global-set-key (kbd "4") (lambda () (interactive) (insert "6")))