emacs: use F2 to toggle input method

This commit is contained in:
Protesilaos Stavrou 2024-08-19 15:13:00 +03:00
parent 20aef2616b
commit bd3c07f6d8
No known key found for this signature in database
GPG key ID: 99BD6459CD5CA3EA
2 changed files with 2 additions and 4 deletions

View file

@ -27,6 +27,7 @@
;; elsewhere later in the configuration.
:bind
( :map global-map
("<f2>" . toggle-input-method) ; F2 overrides that two-column gimmick. Sorry, but no!
("<insert>" . nil)
("<menu>" . nil)
("C-z" . nil) ; I have a window manager, thanks!
@ -163,9 +164,7 @@
(use-package prot-prefix
:ensure nil
:bind-keymap
;; F2 overrides that two-column gimmick. Sorry, but no.
(("<insert>" . prot-prefix)
("<f2>" . prot-prefix)
("C-z" . prot-prefix)))
(use-package recentf

View file

@ -2285,6 +2285,7 @@ key bindings.
;; elsewhere later in the configuration.
:bind
( :map global-map
("<f2>" . toggle-input-method) ; F2 overrides that two-column gimmick. Sorry, but no!
("<insert>" . nil)
("<menu>" . nil)
("C-z" . nil) ; I have a window manager, thanks!
@ -2531,9 +2532,7 @@ configurable amount of time ([[#h:ddb1070d-2f91-4224-ad43-ef03f038f787][The =pro
(use-package prot-prefix
:ensure nil
:bind-keymap
;; F2 overrides that two-column gimmick. Sorry, but no.
(("<insert>" . prot-prefix)
("<f2>" . prot-prefix)
("C-z" . prot-prefix)))
#+end_src