summaryrefslogtreecommitdiff
path: root/.emacs.d/modules/thanos-commands.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/modules/thanos-commands.el')
-rw-r--r--.emacs.d/modules/thanos-commands.el6
1 files changed, 2 insertions, 4 deletions
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)