From 9f4543f503030c1f6c3ecf1dfe1f22a8018e71f1 Mon Sep 17 00:00:00 2001 From: jao Date: Sat, 23 Oct 2021 04:16:43 +0100 Subject: el-spice annoying keybindings --- init.org | 9 ++++++++- org.org | 4 ++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/init.org b/init.org index 226c85f..bd3bbbe 100644 --- a/init.org +++ b/init.org @@ -2220,9 +2220,16 @@ (use-package package-lint :ensure t) (use-package el-spice :ensure t + + :init (setq el-spice-lighter "") + :config (add-hook 'emacs-lisp-mode-hook 'el-spice-mode) - (add-hook 'lisp-interaction-mode-hook 'el-spice-mode)) + (add-hook 'lisp-interaction-mode-hook 'el-spice-mode) + (define-key el-spice-mode-map (kbd "C-c C-c") nil) + (define-key el-spice-mode-map (kbd "C-c C-l") nil) + (define-key el-spice-mode-map (kbd "C-c l") nil) + (define-key el-spice-mode-map (kbd "C-c C-z") nil)) #+end_src *** Erlang #+begin_src emacs-lisp diff --git a/org.org b/org.org index 8c3a4cd..21b71e8 100644 --- a/org.org +++ b/org.org @@ -281,7 +281,7 @@ (define-key org-mode-map "\C-cO" 'outline-hide-other) (global-set-key "\C-cr" 'org-capture) (global-set-key "\C-c\C-l" 'org-store-link) - (global-set-key "\C-cL" 'org-insert-link-global) + ;; (global-set-key "\C-cL" 'org-insert-link-global) (global-set-key "\C-cO" 'org-open-at-point-global) - (global-set-key "\C-ca" 'org-agenda) + ;; (global-set-key "\C-ca" 'org-agenda) #+end_src -- cgit v1.2.3