Update emacs.org

This commit is contained in:
Sako 2023-10-18 12:09:19 +04:00 committed by GitHub
parent 04a65c0f6d
commit 1b744fb0d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -197,23 +197,24 @@ M-x org-bable-tangle
#+end_src #+end_src
** General Leader Key ** General Leader Key
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package general (use-package general
:config :config
(general-create-definer sakomacs/leader-keys (general-create-definer sakomacs/leader-keys
:keymaps `(normal insert visual emacs) :keymaps `(normal insert visual emacs)
:prefix "SPC" :prefix "SPC"
:global-prefix "C-SPC") :global-prefix "C-SPC")
(sakomacs/leader-keys (sakomacs/leader-keys
"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")
"e" `(:ignore e :which-key "explorer") "e" `(:ignore e :which-key "explorer")
"ee" `(treemacs :which-key "treemacs") "ee" `(treemacs :which-key "treemacs")
"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")
"o" `(:ignore o :which-key "org") "pk" `(projectile-kill-buffers :which-key "close project")
"oa" `(org-agenda :which-key "agenda") "o" `(:ignore o :which-key "org")
"g" `(:ignore g :which-key "git") "oa" `(org-agenda :which-key "agenda")
"gs" `(magit-status :which-key "status"))) "g" `(:ignore g :which-key "git")
"gs" `(magit-status :which-key "status")))
#+end_src #+end_src
** Emacs-Dashboard ** Emacs-Dashboard
#+begin_src emacs-lisp #+begin_src emacs-lisp