add a bunch of keybindings
This commit is contained in:
parent
fa2bc2bae1
commit
7c21d3c4bd
|
@ -305,18 +305,45 @@ https://github.com/seagle0128/.emacs.d
|
||||||
:prefix "SPC"
|
:prefix "SPC"
|
||||||
:global-prefix "C-SPC")
|
:global-prefix "C-SPC")
|
||||||
(sakomacs/leader-keys
|
(sakomacs/leader-keys
|
||||||
|
;; code
|
||||||
|
"c" `(:ignore c :which-key "code")
|
||||||
|
"cc" `(compile :which-key "compile")
|
||||||
|
"cC" `(recompile :which-key "compile")
|
||||||
|
"cX" `(lsp-treeemacs-errors-list :which-ley "list errors")
|
||||||
|
;; 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")
|
||||||
"e" `(:ignore e :which-key "explorer")
|
;; search
|
||||||
"ee" `(treemacs :which-key "treemacs")
|
"s" `(:ignore s :which-key "search")
|
||||||
"es" `(eshell :which-key "eshell")
|
"sb" `(swiper :which-key "search buffer")
|
||||||
|
;; insert
|
||||||
|
"i" `(:ignore i :which-key "insert")
|
||||||
|
"ie" `(emoji-search :which-key "Emoji")
|
||||||
|
;; 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")
|
||||||
"o" `(:ignore o :which-key "org")
|
;; open
|
||||||
"oa" `(org-agenda :which-key "agenda")
|
"o" `(:ignore o :which-key "open")
|
||||||
|
"op" `(treemacs :which-key "treemacs")
|
||||||
|
"oP" `(treemacs-find-file :which-key "treemacs find file")
|
||||||
|
"oe" `(eshell :which-key "eshell")
|
||||||
|
;; notes
|
||||||
|
"n" `(:ignore o :which-key "notes")
|
||||||
|
"na" `(org-agenda :which-key "agenda")
|
||||||
|
;; quit
|
||||||
|
"q" `(:ignore q :which-key "quit")
|
||||||
|
"qq" `(delete-frame :which-key "close emacs")
|
||||||
|
"qK" `(kill-emacs :which-key "quit emacs")
|
||||||
|
;; 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")
|
||||||
|
"gcr" `(magit-init :which-key "init repo")
|
||||||
|
"gcR" `(magit-clone :which-key "clone repo")
|
||||||
|
"gcc" `(magit-commit-create :which-key "commit")
|
||||||
|
"gci" `(forge-create-issue :which-key "issue")
|
||||||
|
"gcp" `(forge-create-pullreq :which-key "pull request")))
|
||||||
#+end_src
|
#+end_src
|
||||||
** Emacs-Dashboard
|
** Emacs-Dashboard
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
Loading…
Reference in a new issue