From 4ccc0bbc412b68e1401533264d801d86b1fc8cc7 Mon Sep 17 00:00:00 2001 From: SqrtMinusOne Date: Fri, 5 Jan 2024 18:27:27 +0300 Subject: [PATCH] emacs: add chess --- .config/guix/manifests/dev.scm | 1 + .emacs.d/init.el | 48 +++++++++++++++++++ Desktop.org | 1 + Emacs.org | 88 +++++++++++++++++++++++++++++++++- 4 files changed, 136 insertions(+), 2 deletions(-) diff --git a/.config/guix/manifests/dev.scm b/.config/guix/manifests/dev.scm index bbbee1a..676dc8b 100644 --- a/.config/guix/manifests/dev.scm +++ b/.config/guix/manifests/dev.scm @@ -1,5 +1,6 @@ (specifications->manifest '( + "python-chess" "wireshark" "socat" "leiningen" diff --git a/.emacs.d/init.el b/.emacs.d/init.el index abd730b..2766c93 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -538,6 +538,10 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." (setq default-input-method "russian-computer") +(general-define-key + :keymaps 'global + "M-\\" #'toggle-input-method) + (use-package smartparens :straight t) @@ -5093,6 +5097,16 @@ KEYS is a list of cons cells like (