parent
fbfb201f78
commit
1d072ce0c2
2 changed files with 12 additions and 10 deletions
|
@ -420,12 +420,13 @@ Should make startup faster, taken from doom-emacs
|
|||
** General Leader Key
|
||||
#+begin_src emacs-lisp
|
||||
(use-package general
|
||||
:demand t
|
||||
:config
|
||||
;; (general-create-definer sakomacs/leader-keys
|
||||
;; :keymaps `(normal insert visual emacs)
|
||||
;; :prefix "SPC"
|
||||
;; :global-prefix "C-SPC")
|
||||
(nvmap :prefix "SPC" :global-prefix "C-SPC"
|
||||
(general-create-definer sakomacs/leader-keys
|
||||
:keymaps `(normal insert visual emacs)
|
||||
:prefix "SPC"
|
||||
:global-prefix "C-SPC")
|
||||
(sakomacs/leader-keys
|
||||
;; code
|
||||
"c" `(:ignore c :which-key "code")
|
||||
"cc" `(compile :which-key "compile")
|
||||
|
|
|
@ -347,12 +347,13 @@ kept-old-versions 5)
|
|||
:config (delete-selection-mode +1))
|
||||
|
||||
(use-package general
|
||||
:demand t
|
||||
:config
|
||||
;; (general-create-definer sakomacs/leader-keys
|
||||
;; :keymaps `(normal insert visual emacs)
|
||||
;; :prefix "SPC"
|
||||
;; :global-prefix "C-SPC")
|
||||
(nvmap :prefix "SPC" :global-prefix "C-SPC"
|
||||
(general-create-definer sakomacs/leader-keys
|
||||
:keymaps `(normal insert visual emacs)
|
||||
:prefix "SPC"
|
||||
:global-prefix "C-SPC")
|
||||
(sakomacs/leader-keys
|
||||
;; code
|
||||
"c" `(:ignore c :which-key "code")
|
||||
"cc" `(compile :which-key "compile")
|
||||
|
|
Loading…
Reference in a new issue