commit 1ff230d205df248c316501b51a5909dd3e20bac8 parent 5b1c6b2beb349344807e614dcd153b8959808b52 Author: Alex Balgavy <alex@balgavy.eu> Date: Mon, 31 Oct 2022 22:42:36 +0100 emacs: slovak-qwerty is now in emacs https://git.savannah.gnu.org/cgit/emacs.git/commit/etc/NEWS?id=663fad561d9a18d9b1291f63fe9e9ac1062cf9aa Diffstat:
M | emacs/config.org | | | 4 | +--- |
D | emacs/lisp/slovak-qwerty.el | | | 134 | ------------------------------------------------------------------------------- |
2 files changed, 1 insertion(+), 137 deletions(-)
diff --git a/emacs/config.org b/emacs/config.org @@ -2510,9 +2510,7 @@ Also, counsel doesn't provide some keybindings that I can get from helpful. ** Quail #+begin_src emacs-lisp (use-package quail - :ensure nil ; provided by Emacs - :config - (require 'slovak-qwerty)) + :ensure nil) ; provided by Emacs #+end_src * Shortdoc Set a better keybinding (I'm never gonna use ~view-hello-file~ anyways): diff --git a/emacs/lisp/slovak-qwerty.el b/emacs/lisp/slovak-qwerty.el @@ -1,134 +0,0 @@ -;;; slovak-qwerty.el --- Slovak QWERTY quail input method -;;; -;;; Commentary: -;;; The default Slovak input method is QWERTZ, this provides QWERTY. -;;; -;;; Code: -(require 'quail) - -(quail-define-package - "slovak-qwerty" "Slovak" "SK" t - "Standard Slovak Qwerty keyboard." - nil t nil nil t nil nil nil nil nil t) - -(quail-define-rules - ("1" ?+) - ("2" ?ľ) - ("3" ?š) - ("4" ?č) - ("5" ?ť) - ("6" ?ž) - ("7" ?ý) - ("8" ?á) - ("9" ?í) - ("0" ?é) - ("!" ?1) - ("@" ?2) - ("#" ?3) - ("$" ?4) - ("%" ?5) - ("^" ?6) - ("&" ?7) - ("*" ?8) - ("(" ?9) - (")" ?0) - ("-" ?=) - ("_" ?%) - ("=" ?') - ("[" ?ú) - ("{" ?/) - ("]" ?ä) - ("}" ?\() - ("\\" ?ň) - ("|" ?\)) - (";" ?ô) - (":" ?\") - ("'" ?§) - ("\"" ?!) - ("<" ??) - (">" ?:) - ("/" ?-) - ("?" ?_) - ("`" ?\;) - ("~" ?^) - ("~~" ?~) - ("y" ?y) - ("z" ?z) - ("Y" ?Y) - ("Z" ?Z) - ("=a" ?á) - ("+a" ?ä) - ("+=a" ?ä) - ("+c" ?č) - ("+d" ?ď) - ("=e" ?é) - ("+e" ?ě) - ("=i" ?í) - ("=l" ?ĺ) - ("+l" ?ľ) - ("+n" ?ň) - ("=o" ?ó) - ("+o" ?ô) - ("~o" ?ô) - ("+=o" ?ö) - ("=r" ?ŕ) - ("+r" ?ř) - ("=s" ?ß) - ("+s" ?š) - ("+t" ?ť) - ("=u" ?ú) - ("+u" ?ů) - ("+=u" ?ü) - ("=y" ?ý) - ("+z" ?ž) - ("=A" ?Á) - ("+A" ?Ä) - ("+=A" ?Ä) - ("+C" ?Č) - ("+D" ?Ď) - ("=E" ?É) - ("+E" ?Ě) - ("=I" ?Í) - ("=L" ?Ĺ) - ("+L" ?Ľ) - ("+N" ?Ň) - ("=O" ?Ó) - ("+O" ?Ô) - ("~O" ?Ô) - ("+=O" ?Ö) - ("=R" ?Ŕ) - ("+R" ?Ř) - ("=S" ?ß) - ("+S" ?Š) - ("+T" ?Ť) - ("=U" ?Ú) - ("+U" ?Ů) - ("+=U" ?Ü) - ("=Z" ?Ź) - ("+Z" ?Ž) - ("=Y" ?Ý) - ("+Y" ?Y) - ("=q" ?`) - ("=2" ?@) - ("=3" ?#) - ("=4" ?$) - ("=5" ?%) - ("=6" ?^) - ("=7" ?&) - ("=8" ?*) - ("=9" ?\() - ("=0" ?\)) - ("+1" ?!) - ("+2" ?@) - ("+3" ?#) - ("+4" ?$) - ("+5" ?%) - ("+6" ?^) - ("+7" ?&) - ("+8" ?*) - ("+9" ?\() - ("+0" ?\))) - -;;; slovak-qwerty.el ends here - -(provide 'slovak-qwerty)