From ccb8f0546265bd201e9c3755c077a19dab731b3a Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sat, 16 Dec 2023 01:07:36 +0200 Subject: emacs:(commands) Redo thanos/create-map --- .emacs.d/modules/thanos-commands.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to '.emacs.d') diff --git a/.emacs.d/modules/thanos-commands.el b/.emacs.d/modules/thanos-commands.el index 82c6862..86814ed 100644 --- a/.emacs.d/modules/thanos-commands.el +++ b/.emacs.d/modules/thanos-commands.el @@ -83,8 +83,6 @@ ;; CREATE -(define-prefix-command 'Create) - (defun create-text-scratch () "Create a scratch buffer." (interactive) @@ -97,7 +95,7 @@ (switch-to-buffer (get-buffer-create "*scratch*")) (emacs-lisp-mode)) -(defvar-keymap thanos/create +(defvar-keymap thanos/create-map :doc "Create custom buffers" "t" #'create-text-scratch "e" #'create-scratch) @@ -138,7 +136,7 @@ "i" #'erc-libera "t" #'thanos/load-theme "w" #'thanos/wallpaper-select - "C-c" 'thanos/create + "C-c" thanos/create-map "C-e" #'emms-pause) (define-key global-map (kbd "C-c a") thanos/applications-map) -- cgit v1.2.3