feat(tazjin/emacs): add german-qwerty input method
I often have to type text in German, but on the German keyboard layout 'Y' and 'Z' are in the wrong place (why? who knows). To avoid this confusion, this defines an input method with the positions of those keys corrected. Change-Id: Ie446329d151cd3ed2bbeae1a34fc82d3c29f1d12 Reviewed-on: https://cl.tvl.fyi/c/depot/+/7440 Autosubmit: tazjin <tazjin@tvl.su> Reviewed-by: tazjin <tazjin@tvl.su> Tested-by: BuildkiteCI
This commit is contained in:
parent
b5a1b965a6
commit
edea7ecc18
1 changed files with 42 additions and 0 deletions
|
@ -66,4 +66,46 @@
|
|||
;; *NEVER* use intentionally.
|
||||
(unbind-key (kbd "C-x s") 'global-map)
|
||||
|
||||
;; German keyboard layout with Y and Z in the correct place.
|
||||
|
||||
(quail-define-package
|
||||
"german-qwerty" "German" "DE@" t
|
||||
"German (Deutsch) input method with QWERTY keys"
|
||||
nil t t t t nil nil nil nil nil t)
|
||||
|
||||
;; 1! 2" 3§ 4$ 5% 6& 7/ 8( 9) 0= ß? [{ ]}
|
||||
;; qQ wW eE rR tT yY uU iI oO pP üÜ +*
|
||||
;; aA sS dD fF gG hH jJ kK lL öÖ äÄ #^
|
||||
;; zZ xX cC vV bB nN mM ,; .: -_
|
||||
|
||||
(quail-define-rules
|
||||
("-" ?ß)
|
||||
("=" ?\[)
|
||||
("`" ?\])
|
||||
("[" ?ü)
|
||||
("]" ?+)
|
||||
(";" ?ö)
|
||||
("'" ?ä)
|
||||
("\\" ?#)
|
||||
("/" ?-)
|
||||
|
||||
("@" ?\")
|
||||
("#" ?§)
|
||||
("^" ?&)
|
||||
("&" ?/)
|
||||
("*" ?\()
|
||||
("(" ?\))
|
||||
(")" ?=)
|
||||
("_" ??)
|
||||
("+" ?{)
|
||||
("~" ?})
|
||||
("{" ?Ü)
|
||||
("}" ?*)
|
||||
(":" ?Ö)
|
||||
("\"" ?Ä)
|
||||
("|" ?^)
|
||||
("<" ?\;)
|
||||
(">" ?:)
|
||||
("?" ?_))
|
||||
|
||||
(provide 'bindings)
|
||||
|
|
Loading…
Reference in a new issue