no wqay this is the fix lmao

This commit is contained in:
Sakooooo 2023-12-25 22:10:37 +04:00
parent b3bdf457e0
commit 0bd9262fba
Signed by: sako
GPG key ID: FE52FD65B76E4751
2 changed files with 80 additions and 80 deletions

View file

@ -426,55 +426,55 @@ Should make startup faster, taken from doom-emacs
:keymaps `(normal insert visual emacs) :keymaps `(normal insert visual emacs)
:prefix "SPC" :prefix "SPC"
:global-prefix "C-SPC") :global-prefix "C-SPC")
(defmacro sakomacs/leader-keys (sakomacs/leader-keys
;; code ;; code
"c" `(:ignore c :which-key "code") "c" '(:ignore c :which-key "code")
"cc" `(compile :which-key "compile") "cc" '(compile :which-key "compile")
"cC" `(recompile :which-key "compile") "cC" '(recompile :which-key "compile")
"cX" `(lsp-treeemacs-errors-list :which-ley "list errors") "cX" '(lsp-treeemacs-errors-list :which-ley "list errors")
;; toggles ;; toggles
"t" `(:ignore t :which-key "toggles") "t" '(:ignore t :which-key "toggles")
"tt" `(counsel-load-theme :which-key "choose theme") "tt" '(counsel-load-theme :which-key "choose theme")
"ts" `(hydra-text-scale/body :which-key "scale text") "ts" '(hydra-text-scale/body :which-key "scale text")
;; search ;; search
"s" `(:ignore s :which-key "search") "s" '(:ignore s :which-key "search")
"sb" `(swiper :which-key "search buffer") "sb" '(swiper :which-key "search buffer")
;; insert ;; insert
"i" `(:ignore i :which-key "insert") "i" '(:ignore i :which-key "insert")
"ie" `(emoji-search :which-key "Emoji") "ie" '(emoji-search :which-key "Emoji")
;; project ;; project
"p" `(:ignore p :which-key "projects") "p" '(:ignore p :which-key "projects")
"pp" `(projectile-switch-project :which-key "open project") "pp" '(projectile-switch-project :which-key "open project")
"pk" `(projectile-kill-buffers :which-key "close project") "pk" '(projectile-kill-buffers :which-key "close project")
"pa" `(projectile-add-known-project :which-key "add project") "pa" '(projectile-add-known-project :which-key "add project")
"pR" `(projectile-run-project :which-key "run project") "pR" '(projectile-run-project :which-key "run project")
"pt" `(magit-todos-list :which-key "list project todos") "pt" '(magit-todos-list :which-key "list project todos")
"ps" `(projectile-save-project-buffers :which-key "save project") "ps" '(projectile-save-project-buffers :which-key "save project")
"po" `(projectile-find-other-file :which-key "find other file") "po" '(projectile-find-other-file :which-key "find other file")
"pg" `(projectile-configure-project :which-key "configure project") "pg" '(projectile-configure-project :which-key "configure project")
"pc" `(projectile-compile-project :which-key "compile project") "pc" '(projectile-compile-project :which-key "compile project")
;; open ;; open
"o" `(:ignore o :which-key "open") "o" '(:ignore o :which-key "open")
"op" `(treemacs :which-key "treemacs") "op" '(treemacs :which-key "treemacs")
"oP" `(treemacs-find-file :which-key "treemacs find file") "oP" '(treemacs-find-file :which-key "treemacs find file")
"oe" `(eshell :which-key "eshell") "oe" '(eshell :which-key "eshell")
"or" `(elfeed :which-key "rss") "or" '(elfeed :which-key "rss")
;; notes ;; notes
"n" `(:ignore o :which-key "notes") "n" '(:ignore o :which-key "notes")
"na" `(org-agenda :which-key "agenda") "na" '(org-agenda :which-key "agenda")
;; quit ;; quit
"q" `(:ignore q :which-key "quit") "q" '(:ignore q :which-key "quit")
"qq" `(delete-frame :which-key "close emacs") "qq" '(delete-frame :which-key "close emacs")
"qK" `(kill-emacs :which-key "quit emacs") "qK" '(kill-emacs :which-key "quit emacs")
;; git ;; git
"g" `(:ignore g :which-key "git") "g" '(:ignore g :which-key "git")
"gs" `(magit-status :which-key "status") "gs" '(magit-status :which-key "status")
"gc" `(:ignore gc :which-key "create") "gc" '(:ignore gc :which-key "create")
"gcr" `(magit-init :which-key "init repo") "gcr" '(magit-init :which-key "init repo")
"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")))
#+end_src #+end_src
** Dashboard ** Dashboard
#+begin_src emacs-lisp #+begin_src emacs-lisp

View file

@ -353,55 +353,55 @@ kept-old-versions 5)
:keymaps `(normal insert visual emacs) :keymaps `(normal insert visual emacs)
:prefix "SPC" :prefix "SPC"
:global-prefix "C-SPC") :global-prefix "C-SPC")
(defmacro sakomacs/leader-keys (sakomacs/leader-keys
;; code ;; code
"c" `(:ignore c :which-key "code") "c" '(:ignore c :which-key "code")
"cc" `(compile :which-key "compile") "cc" '(compile :which-key "compile")
"cC" `(recompile :which-key "compile") "cC" '(recompile :which-key "compile")
"cX" `(lsp-treeemacs-errors-list :which-ley "list errors") "cX" '(lsp-treeemacs-errors-list :which-ley "list errors")
;; toggles ;; toggles
"t" `(:ignore t :which-key "toggles") "t" '(:ignore t :which-key "toggles")
"tt" `(counsel-load-theme :which-key "choose theme") "tt" '(counsel-load-theme :which-key "choose theme")
"ts" `(hydra-text-scale/body :which-key "scale text") "ts" '(hydra-text-scale/body :which-key "scale text")
;; search ;; search
"s" `(:ignore s :which-key "search") "s" '(:ignore s :which-key "search")
"sb" `(swiper :which-key "search buffer") "sb" '(swiper :which-key "search buffer")
;; insert ;; insert
"i" `(:ignore i :which-key "insert") "i" '(:ignore i :which-key "insert")
"ie" `(emoji-search :which-key "Emoji") "ie" '(emoji-search :which-key "Emoji")
;; project ;; project
"p" `(:ignore p :which-key "projects") "p" '(:ignore p :which-key "projects")
"pp" `(projectile-switch-project :which-key "open project") "pp" '(projectile-switch-project :which-key "open project")
"pk" `(projectile-kill-buffers :which-key "close project") "pk" '(projectile-kill-buffers :which-key "close project")
"pa" `(projectile-add-known-project :which-key "add project") "pa" '(projectile-add-known-project :which-key "add project")
"pR" `(projectile-run-project :which-key "run project") "pR" '(projectile-run-project :which-key "run project")
"pt" `(magit-todos-list :which-key "list project todos") "pt" '(magit-todos-list :which-key "list project todos")
"ps" `(projectile-save-project-buffers :which-key "save project") "ps" '(projectile-save-project-buffers :which-key "save project")
"po" `(projectile-find-other-file :which-key "find other file") "po" '(projectile-find-other-file :which-key "find other file")
"pg" `(projectile-configure-project :which-key "configure project") "pg" '(projectile-configure-project :which-key "configure project")
"pc" `(projectile-compile-project :which-key "compile project") "pc" '(projectile-compile-project :which-key "compile project")
;; open ;; open
"o" `(:ignore o :which-key "open") "o" '(:ignore o :which-key "open")
"op" `(treemacs :which-key "treemacs") "op" '(treemacs :which-key "treemacs")
"oP" `(treemacs-find-file :which-key "treemacs find file") "oP" '(treemacs-find-file :which-key "treemacs find file")
"oe" `(eshell :which-key "eshell") "oe" '(eshell :which-key "eshell")
"or" `(elfeed :which-key "rss") "or" '(elfeed :which-key "rss")
;; notes ;; notes
"n" `(:ignore o :which-key "notes") "n" '(:ignore o :which-key "notes")
"na" `(org-agenda :which-key "agenda") "na" '(org-agenda :which-key "agenda")
;; quit ;; quit
"q" `(:ignore q :which-key "quit") "q" '(:ignore q :which-key "quit")
"qq" `(delete-frame :which-key "close emacs") "qq" '(delete-frame :which-key "close emacs")
"qK" `(kill-emacs :which-key "quit emacs") "qK" '(kill-emacs :which-key "quit emacs")
;; git ;; git
"g" `(:ignore g :which-key "git") "g" '(:ignore g :which-key "git")
"gs" `(magit-status :which-key "status") "gs" '(magit-status :which-key "status")
"gc" `(:ignore gc :which-key "create") "gc" '(:ignore gc :which-key "create")
"gcr" `(magit-init :which-key "init repo") "gcr" '(magit-init :which-key "init repo")
"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")))
(use-package dashboard (use-package dashboard
:init :init