move the definition of creature/map to init-keybindings

This commit is contained in:
zedhugh committed 2024-09-14 22:46:49 +08:00
1 parent b526e6b731
commit a4f03a72d0
7 files changed
+13 -6

No files matched your search

-6
View File
@@ -58,12 +58,6 @@ If freezing sometimes, decrease it. If stuttering, increase it.")
(expand-file-name ".cache" creature/config-dir)
"Cache directory of Creature.")
(defconst creature/prefix-key "M-m"
"Prefix key for custom keybindings.")
(define-prefix-command 'creature/map)
(global-set-key (kbd creature/prefix-key) 'creature/map)
(defconst creature/pkg-dir
(expand-file-name "site-lisp" creature/config-dir)
"Package directory.")
+1
View File
@@ -34,6 +34,7 @@
("C-c C-p" . flymake-goto-prev-error))
flymake-mode-map)
(require 'init-keybindings)
(lazy-load-set-keys
'(("ex" . flymake-show-diagnostic)
("el" . creature/flymake-show-diagnostics-buffer-and-jump))
+1
View File
@@ -6,6 +6,7 @@
'(("C-x g" . magit-status))
"magit")
(require 'init-keybindings)
(lazy-load-local-keys
'(("gb" . magit-blame)
("gc" . magit-clone)
+7
View File
@@ -1,5 +1,12 @@
;; -*- coding: utf-8; lexical-binding: t; -*-
(defconst creature/prefix-key "M-m"
"Prefix key for custom keybindings.")
(define-prefix-command 'creature/map)
(global-set-key (kbd creature/prefix-key) 'creature/map)
(global-set-key (kbd "C-c '") (kbd "`"))
+1
View File
@@ -3,6 +3,7 @@
(require 'lazy-load)
(require 'init-keybindings)
(lazy-load-local-keys
'(("s" . sdcv-search-pointer))
creature/map "sdcv")
+1
View File
@@ -34,6 +34,7 @@
"cape")
(require 'init-keybindings)
(lazy-load-local-keys
'(("fr" . consult-recent-file))
creature/map "consult")
+2
View File
@@ -1,5 +1,7 @@
;; -*- coding: utf-8; lexical-binding: t; -*-
(require 'init-keybindings)
(require 'which-key)
(setq which-key-show-early-on-C-h t)
(setq which-key-idle-delay 10000)