This commit is contained in:
Sakooooo 2023-10-04 11:52:29 +04:00
parent eeac6fcecd
commit 92a233a6a8
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 20 additions and 16 deletions

View file

@ -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

View file

@ -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