please work

This commit is contained in:
Sakooooo 2023-12-25 21:18:24 +04:00
parent 25b3e50659
commit b9fcb232f1
Signed by: sako
GPG key ID: FE52FD65B76E4751
2 changed files with 100 additions and 100 deletions

View file

@ -420,7 +420,11 @@ Should make startup faster, taken from doom-emacs
** General Leader Key ** General Leader Key
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package general (use-package general
:config :init
(general-create-definer sakomacs/leader-keys
:keymaps `(normal insert visual emacs)
:prefix "SPC"
:global-prefix "C-SPC")
(sakomacs/leader-keys (sakomacs/leader-keys
;; code ;; code
"c" `(:ignore c :which-key "code") "c" `(:ignore c :which-key "code")
@ -468,11 +472,7 @@ Should make startup faster, taken from doom-emacs
"gcR" `(magit-clone :which-key "clone repo") "gcR" `(magit-clone :which-key "clone repo")
"gcc" `(magit-commit-create :which-key "commit") "gcc" `(magit-commit-create :which-key "commit")
"gci" `(forge-create-issue :which-key "issue") "gci" `(forge-create-issue :which-key "issue")
"gcp" `(forge-create-pullreq :which-key "pull request")) "gcp" `(forge-create-pullreq :which-key "pull request")))
(general-create-definer sakomacs/leader-keys
:keymaps `(normal insert visual emacs)
:prefix "SPC"
:global-prefix "C-SPC"))
#+end_src #+end_src
** Dashboard ** Dashboard
#+begin_src emacs-lisp #+begin_src emacs-lisp

View file

@ -347,7 +347,11 @@ kept-old-versions 5)
:config (delete-selection-mode +1)) :config (delete-selection-mode +1))
(use-package general (use-package general
:config :init
(general-create-definer sakomacs/leader-keys
:keymaps `(normal insert visual emacs)
:prefix "SPC"
:global-prefix "C-SPC")
(sakomacs/leader-keys (sakomacs/leader-keys
;; code ;; code
"c" `(:ignore c :which-key "code") "c" `(:ignore c :which-key "code")
@ -395,11 +399,7 @@ kept-old-versions 5)
"gcR" `(magit-clone :which-key "clone repo") "gcR" `(magit-clone :which-key "clone repo")
"gcc" `(magit-commit-create :which-key "commit") "gcc" `(magit-commit-create :which-key "commit")
"gci" `(forge-create-issue :which-key "issue") "gci" `(forge-create-issue :which-key "issue")
"gcp" `(forge-create-pullreq :which-key "pull request")) "gcp" `(forge-create-pullreq :which-key "pull request")))
(general-create-definer sakomacs/leader-keys
:keymaps `(normal insert visual emacs)
:prefix "SPC"
:global-prefix "C-SPC"))
(use-package dashboard (use-package dashboard
:init :init