From 92a233a6a8d61e9a0085ead947b5ba00ab9e0870 Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Wed, 4 Oct 2023 11:52:29 +0400 Subject: [PATCH] thingy --- config/emacs/emacs.org | 32 +++++++++++++++++--------------- config/emacs/init.el | 4 +++- 2 files changed, 20 insertions(+), 16 deletions(-) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index 34841d12..18ab43ce 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -197,21 +197,23 @@ M-x org-bable-tangle #+end_src ** General Leader Key #+begin_src emacs-lisp - (use-package general - :config - (general-create-definer sakomacs/leader-keys - :keymaps `(normal insert visual emacs) - :prefix "SPC" - :global-prefix "C-SPC") - (sakomacs/leader-keys - "t" `(:ignore t :which-key "toggles") - "tt" `(counsel-load-theme :which-key "choose theme") - "e" `(:ignore e :which-key "explorer") - "ee" `(treemacs :which-key "treemacs") - "p" `(:ignore p :which-key "projects") - "pp" `(projectile-switch-project :which-key "open project") - "o" `(:ignore o :which-key "org") - "oa" `(org-agenda :which-key "agenda"))) + (use-package general + :config + (general-create-definer sakomacs/leader-keys + :keymaps `(normal insert visual emacs) + :prefix "SPC" + :global-prefix "C-SPC") + (sakomacs/leader-keys + "t" `(:ignore t :which-key "toggles") + "tt" `(counsel-load-theme :which-key "choose theme") + "e" `(:ignore e :which-key "explorer") + "ee" `(treemacs :which-key "treemacs") + "p" `(:ignore p :which-key "projects") + "pp" `(projectile-switch-project :which-key "open project") + "o" `(:ignore o :which-key "org") + "oa" `(org-agenda :which-key "agenda") + "g" `(:ignore g :which-key "git") + "gs" `(magit-status :which-key "status"))) #+end_src ** Emacs-Dashboard #+begin_src emacs-lisp diff --git a/config/emacs/init.el b/config/emacs/init.el index 46672057..93fb09ff 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -164,7 +164,9 @@ "p" `(:ignore p :which-key "projects") "pp" `(projectile-switch-project :which-key "open project") "o" `(:ignore o :which-key "org") - "oa" `(org-agenda :which-key "agenda"))) + "oa" `(org-agenda :which-key "agenda") + "g" `(:ignore g :which-key "git") + "gs" `(magit-status :which-key "status"))) (use-package dashboard :ensure t