move the definition of creature/map to init-keybindings
This commit is contained in:
7 files changed
+13
-6
No files matched your search
@@ -58,12 +58,6 @@ If freezing sometimes, decrease it. If stuttering, increase it.")
|
|||||||
(expand-file-name ".cache" creature/config-dir)
|
(expand-file-name ".cache" creature/config-dir)
|
||||||
"Cache directory of Creature.")
|
"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
|
(defconst creature/pkg-dir
|
||||||
(expand-file-name "site-lisp" creature/config-dir)
|
(expand-file-name "site-lisp" creature/config-dir)
|
||||||
"Package directory.")
|
"Package directory.")
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
("C-c C-p" . flymake-goto-prev-error))
|
("C-c C-p" . flymake-goto-prev-error))
|
||||||
flymake-mode-map)
|
flymake-mode-map)
|
||||||
|
|
||||||
|
(require 'init-keybindings)
|
||||||
(lazy-load-set-keys
|
(lazy-load-set-keys
|
||||||
'(("ex" . flymake-show-diagnostic)
|
'(("ex" . flymake-show-diagnostic)
|
||||||
("el" . creature/flymake-show-diagnostics-buffer-and-jump))
|
("el" . creature/flymake-show-diagnostics-buffer-and-jump))
|
||||||
|
|||||||
@@ -6,6 +6,7 @@
|
|||||||
'(("C-x g" . magit-status))
|
'(("C-x g" . magit-status))
|
||||||
"magit")
|
"magit")
|
||||||
|
|
||||||
|
(require 'init-keybindings)
|
||||||
(lazy-load-local-keys
|
(lazy-load-local-keys
|
||||||
'(("gb" . magit-blame)
|
'(("gb" . magit-blame)
|
||||||
("gc" . magit-clone)
|
("gc" . magit-clone)
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
;; -*- coding: utf-8; lexical-binding: t; -*-
|
;; -*- 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 "`"))
|
(global-set-key (kbd "C-c '") (kbd "`"))
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
(require 'lazy-load)
|
(require 'lazy-load)
|
||||||
|
|
||||||
|
|
||||||
|
(require 'init-keybindings)
|
||||||
(lazy-load-local-keys
|
(lazy-load-local-keys
|
||||||
'(("s" . sdcv-search-pointer))
|
'(("s" . sdcv-search-pointer))
|
||||||
creature/map "sdcv")
|
creature/map "sdcv")
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
"cape")
|
"cape")
|
||||||
|
|
||||||
|
|
||||||
|
(require 'init-keybindings)
|
||||||
(lazy-load-local-keys
|
(lazy-load-local-keys
|
||||||
'(("fr" . consult-recent-file))
|
'(("fr" . consult-recent-file))
|
||||||
creature/map "consult")
|
creature/map "consult")
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
;; -*- coding: utf-8; lexical-binding: t; -*-
|
;; -*- coding: utf-8; lexical-binding: t; -*-
|
||||||
|
|
||||||
|
(require 'init-keybindings)
|
||||||
|
|
||||||
(require 'which-key)
|
(require 'which-key)
|
||||||
(setq which-key-show-early-on-C-h t)
|
(setq which-key-show-early-on-C-h t)
|
||||||
(setq which-key-idle-delay 10000)
|
(setq which-key-idle-delay 10000)
|
||||||
|
|||||||
Reference in new issue
Block a user