More convenient German characters.
Hadn't commited in a while, so this and the next 14 commits are in a sort-of, as-far-as-I-can-remember-but-can-I-really /reverse/ chronological order (i.e. newest changes first).
This commit is contained in:
parent
49f586b71b
commit
140fa52135
27
init.el
27
init.el
|
@ -165,6 +165,33 @@
|
|||
(global-set-key (kbd "<f5>") 'eval-buffer)
|
||||
(global-set-key (kbd "M-<f5>") 'ielm)
|
||||
|
||||
|
||||
;;;; More convenient Unicode keys
|
||||
;; make a macro, global-set-keys -
|
||||
;; (global-set-keys (keybinding-pair1) (keybinding-pair2) ...)
|
||||
;; =>
|
||||
;; (global-set-key keybinding-pair1)
|
||||
;; (global-set-key keybinding-pair2)
|
||||
;; ...
|
||||
;; where each (keybinding-pair) is
|
||||
;; ((kbd ...) function)
|
||||
|
||||
(global-unset-key (kbd "M-,"))
|
||||
(global-set-key (kbd "M-, a")
|
||||
(lambda () (interactive) (insert "ä")))
|
||||
(global-set-key (kbd "M-, A")
|
||||
(lambda () (interactive) (insert "Ä")))
|
||||
(global-set-key (kbd "M-, u")
|
||||
(lambda () (interactive) (insert "ü")))
|
||||
(global-set-key (kbd "M-, U")
|
||||
(lambda () (interactive) (insert "Ü")))
|
||||
(global-set-key (kbd "M-, o")
|
||||
(lambda () (interactive) (insert "ö")))
|
||||
(global-set-key (kbd "M-, O")
|
||||
(lambda () (interactive) (insert "Ö")))
|
||||
(global-set-key (kbd "M-, s")
|
||||
(lambda () (interactive) (insert "ß")))
|
||||
|
||||
;;;; Just hit y or n to answer yes or no prompts! Shiny!
|
||||
(defalias 'yes-or-no-p 'y-or-n-p)
|
||||
|
||||
|
|
Loading…
Reference in New Issue