Created
November 5, 2020 00:16
-
-
Save kevindashgit/9b97cb6aeb18829b870f5a6d79f3d477 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(use-package general | |
:config | |
(general-create-definer rune/leader-keys | |
:keymaps '(normal insert visual emacs) | |
:prefix "SPC" | |
:global-prefix "C-SPC") | |
;; okay so take from : https://github.com/noctuid/general.el | |
;; rune/leader-keys is defined just above this as a "general-create-definer" | |
;; bascially all the bindings below will carry with them the characteristics of | |
;; the defined definer :D :D so meta | |
(rune/leader-keys | |
"'" '(ivy-resume :which-key "resume last ivy search") | |
"b" '(:ignore t :which-key "a") | |
"c" '(:ignore t :which-key "b") | |
"f" '(:ignore t :which-key "c") | |
"g" '(:ignore t :which-key "d") | |
"h" '(:ignore t :which-key "d") | |
"i" '(:ignore t :which-key "d") | |
"n" '(:ignore t :which-key "d") | |
"o" '(:ignore t :which-key "d") | |
"p" '(:ignore t :which-key "d") | |
"q" '(:ignore t :which-key "d") | |
"s" '(:ignore t :which-key "d") | |
"t" '(:ignore t :which-key "this is cool right?") | |
"gc" '(:ignore t :which-key "commentary") | |
"oa" '(:ignore t :which-key "oa") | |
"gf" '(:ignore t :which-key "gf") | |
"gl" '(:ignore t :which-key "gl") | |
"go" '(:ignore t :which-key "go") | |
"h4" '(:ignore t :which-key "h4") | |
"hb" '(:ignore t :which-key "hb") | |
"hd" '(:ignore t :which-key "hd") | |
"hr" '(:ignore t :which-key "hr") | |
"wm" '(:ignore t :which-key "wm") | |
"hdp" '(:ignore t :which-key "hdp") | |
"RET" '(bookmark-jump :which-key "RET") | |
"SPC" '(projectile-find-file "" :which-key "SPC") | |
"*" '(+default/search-project-for-symbol-at-point :which-key "*") | |
"," '(switch-to-buffer :which-key ",") | |
"." '(find-file :which-key ".") | |
"/" '(+default/search-project :which-key "/") | |
":" '(execute-extended-command :which-key ":") | |
";" '(pp-eval-expression :which-key ";") | |
"X" '(org-capture :which-key "X") | |
"`" '(evil-switch-to-windows-last-buffer :which-key "`") | |
"u" '(universal-argument :which-key "u") | |
"w" '(:ignore t :which-key "w") | |
"~" '(+popup/toggle :which-key "~") | |
"tF" '(toggle-frame-fullscreen :which-key "tF") | |
"tf" '(flycheck-mode :which-key "tf") | |
"tg" '(evil-goggles-mode :which-key "tg") | |
"ti" '(highlight-indent-guides-mode :which-key "ti") | |
"tp" '(org-tree-slide-mode :which-key "tp") | |
"tr" '(read-only-mode :which-key "tr") | |
"tw" '(visual-line-mode :which-key "tw") | |
"sD" '(+default/search-other-cwd :which-key "sD") | |
"sK" '(+lookup/in-all-docsets :which-key "sK") | |
"sL" '(ffap-menu :which-key "sL") | |
"sO" '(+lookup/online-select :which-key "sO") | |
"sP" '(+default/search-other-project :which-key "sP") | |
"sS" '(swiper-isearch-thing-at-point :which-key "sS") | |
"sT" '(+lookup/synonyms :which-key "sT") | |
"sb" '(swiper :which-key "sb") | |
"sd" '(+default/search-cwd :which-key "sd") | |
"sf" '(locate :which-key "sf") | |
"si" '(imenu :which-key "si") | |
"sj" '(evil-show-jumps :which-key "sj") | |
"sk" '(+lookup/in-docsets :which-key "sk") | |
"sl" '(link-hint-open-link :which-key "sl") | |
"sm" '(bookmark-jump :which-key "sm") | |
"so" '(+lookup/online :which-key "so") | |
"sp" '(+default/search-project :which-key "sp") | |
"sr" '(evil-show-marks :which-key "sr") | |
"ss" '(+default/search-buffer :which-key "ss") | |
"st" '(+lookup/dictionary-definition :which-key "st") | |
"qK" '(save-buffers-kill-emacs :which-key "qK") | |
"qQ" '(evil-quit-all-with-error-code :which-key "qQ") | |
"qd" '(+default/restart-server :which-key "qd") | |
"qf" '(delete-frame :which-key "qf") | |
"qq" '(save-buffers-kill-terminal :which-key "qq") | |
"p!" '(projectile-run-shell-command-in-root :which-key "projectile-run-shell-command-in-root ") | |
"p." '(+default/browse-project :which-key "+default/browse-project ") | |
"pC" '(projectile-repeat-last-command :which-key "projectile-repeat-last-command ") | |
"pD" '(+default/discover-projects :which-key "+default/discover-projects ") | |
"pR" '(projectile-run-project :which-key "projectile-run-project ") | |
"pT" '(projectile-test-project :which-key "projectile-test-project ") | |
"pa" '(projectile-add-known-project :which-key "projectile-add-known-project ") | |
"pb" '(projectile-switch-to-buffer :which-key "projectile-switch-to-buffer ") | |
"pc" '(projectile-compile-project :which-key "projectile-compile-project ") | |
"pd" '(projectile-remove-known-project :which-key "projectile-remove-known-project ") | |
"pe" '(projectile-edit-dir-locals :which-key "projectile-edit-dir-locals ") | |
"pf" '(projectile-find-file :which-key "projectile-find-file ") | |
"pg" '(projectile-configure-project :which-key "projectile-configure-project ") | |
"pi" '(projectile-invalidate-cache :which-key "projectile-invalidate-cache ") | |
"pk" '(projectile-kill-buffers :which-key "projectile-kill-buffers ") | |
"po" '(projectile-find-other-file :which-key "projectile-find-other-file ") | |
"pp" '(projectile-switch-project :which-key "projectile-switch-project ") | |
"pr" '(projectile-recentf :which-key "projectile-recentf ") | |
"ps" '(projectile-save-project-buffers :which-key "projectile-save-project-buffers ") | |
"pt" '(magit-todos-list :which-key "magit-todos-list ") | |
"o-" '(dired-jump :which-key "dired-jump ") | |
"oA" '(org-agenda :which-key "org-agenda ") | |
"oE" '(+eshell/here :which-key "+eshell/here ") | |
"oP" '(treemacs-find-file :which-key "treemacs-find-file ") | |
"oR" '(+eval/open-repl-same-window :which-key "+eval/open-repl-same-window ") | |
"oT" '(+vterm/here :which-key "+vterm/here ") | |
"ob" '(browse-url-of-file :which-key "browse-url-of-file ") | |
"od" '(+debugger/start :which-key "+debugger/start ") | |
"oe" '(+eshell/toggle :which-key "+eshell/toggle ") | |
"of" '(make-frame :which-key "make-frame ") | |
"om" '(=mu4e :which-key "=mu4e ") | |
"op" '(+treemacs/toggle :which-key "+treemacs/toggle ") | |
"or" '(+eval/open-repl-other-window :which-key "+eval/open-repl-other-window ") | |
"ot" '(+vterm/toggle :which-key "+vterm/toggle ") | |
"n*" '(+default/search-notes-for-symbol-at-point :which-key "+default/search-notes-for-symbol-at-point ") | |
"nC" '(org-clock-cancel :which-key "org-clock-cancel ") | |
"nF" '(+default/browse-notes :which-key "+default/browse-notes ") | |
"nN" '(org-capture-goto-target :which-key "org-capture-goto-target ") | |
"nS" '(+default/org-notes-headlines :which-key "+default/org-notes-headlines ") | |
"nY" '(+org/export-to-clipboard-as-rich-text :which-key "+org/export-to-clipboard-as-rich-text ") | |
"na" '(org-agenda :which-key "org-agenda ") | |
"nc" '(+org/toggle-last-clock :which-key "+org/toggle-last-clock ") | |
"nd" '(deft :which-key "deft ") | |
"nf" '(+default/find-in-notes :which-key "+default/find-in-notes ") | |
"nl" '(org-store-link :which-key "org-store-link ") | |
"nm" '(org-tags-view :which-key "org-tags-view ") | |
"nn" '(org-capture :which-key "org-capture ") | |
"no" '(org-clock-goto :which-key "org-clock-goto ") | |
"ns" '(+default/org-notes-search :which-key "+default/org-notes-search ") | |
"nt" '(org-todo-list :which-key "org-todo-list ") | |
"nv" '(org-search-view :which-key "org-search-view ") | |
"ny" '(+org/export-to-clipboard :which-key "+org/export-to-clipboard ") | |
"ie" '(emojify-insert-emoji :which-key "emojify-insert-emoji ") | |
"if" '(+default/insert-file-path :which-key "+default/insert-file-path ") | |
"ir" '(evil-ex-registers :which-key "evil-ex-registers ") | |
"is" '(yas-insert-snippet :which-key "yas-insert-snippet ") | |
"iu" '(unicode-chars-list-chars :which-key "unicode-chars-list-chars ") | |
"iy" '(+default/yank-pop :which-key "+default/yank-pop ") | |
"g'" '(forge-dispatch :which-key " '(forge-dispatch ") | |
"g." '(+vc/gutter-hydra/body :which-key "+vc/gutter-hydra/body ") | |
"g/" '(magit-dispatch :which-key "magit-dispatch ") | |
"gB" '(magit-blame-addition :which-key "magit-blame-addition ") | |
"gC" '(magit-clone :which-key "magit-clone ") | |
"gD" '(magit-file-delete :which-key "magit-file-delete ") | |
"gF" '(magit-fetch :which-key "magit-fetch ") | |
"gG" '(magit-status-here :which-key "magit-status-here ") | |
"gL" '(magit-log :which-key "magit-log ") | |
"gR" '(vc-revert :which-key "vc-revert ") | |
"gS" '(magit-stage-file :which-key "magit-stage-file ") | |
"gU" '(magit-unstage-file :which-key "magit-unstage-file ") | |
"gY" '(+vc/browse-at-remote-kill-homepage :which-key "+vc/browse-at-remote-kill-homepage ") | |
"g[" '(git-gutter:previous-hunk :which-key "git-gutter:previous-hunk ") | |
"g]" '(git-gutter:next-hunk :which-key "git-gutter:next-hunk ") | |
"gb" '(magit-branch-checkout :which-key "magit-branch-checkout ") | |
"gd" '(magit-diff-unstaged :which-key "magit-diff-unstaged ") | |
"gg" '(magit-status :which-key "magit-status ") | |
"gm" '(+vc/smerge-hydra/body :which-key "+vc/smerge-hydra/body ") | |
"gr" '(git-gutter:revert-hunk :which-key "git-gutter:revert-hunk ") | |
"gs" '(git-gutter:stage-hunk :which-key "git-gutter:stage-hunk ") | |
"gt" '(git-timemachine-toggle :which-key "git-timemachine-toggle ") | |
"gy" '(browse-at-remote-kill :which-key "browse-at-remote-kill ") | |
"fE" '(+default/browse-emacsd :which-key "+default/browse-emacsd ") | |
"fF" '(+default/find-file-under-here :which-key "+default/find-file-under-here ") | |
"fS" '(write-file :which-key "write-file ") | |
"fc" '(editorconfig-find-current-editorconfig :which-key "editorconfig-find-current-editorconfig ") | |
"fd" '(+default/dired :which-key "+default/dired ") | |
"fe" '(+default/find-in-emacsd :which-key "+default/find-in-emacsd ") | |
"ff" '(find-file :which-key "find-file ") | |
"fl" '(locate :which-key "locate ") | |
"fr" '(recentf-open-files :which-key "recentf-open-files ") | |
"fs" '(save-buffer :which-key "save-buffer ") | |
"fy" '(+default/yank-buffer-filename :which-key "+default/yank-buffer-filename ") | |
"cC" '(recompile :which-key "recompile ") | |
"cD" '(+lookup/references :which-key "+lookup/references ") | |
"cE" '(+eval:replace-region :which-key "+eval:replace-region ") | |
"cc" '(compile :which-key "compile ") | |
"cd" '(+lookup/definition :which-key "+lookup/definition ") | |
"ce" '(+eval/buffer-or-region :which-key "+eval/buffer-or-region ") | |
"cf" '(+format/region-or-buffer :which-key "+format/region-or-buffer ") | |
"ci" '(+lookup/implementations :which-key "+lookup/implementations ") | |
"ck" '(+lookup/documentation :which-key "+lookup/documentation ") | |
"cs" '(+eval/send-region-to-repl :which-key "+eval/send-region-to-repl ") | |
"ct" '(+lookup/type-definition :which-key "+lookup/type-definition ") | |
"cw" '(delete-trailing-whitespace :which-key "delete-trailing-whitespace ") | |
"cx" '(flycheck-list-errors :which-key "flycheck-list-errors ") | |
"bM" '(bookmark-delete :which-key "bookmark-delete ") | |
"bN" '(evil-buffer-new :which-key "evil-buffer-new ") | |
"bS" '(evil-write-all :which-key "evil-write-all ") | |
"b[" '(previous-buffer :which-key "previous-buffer ") | |
"b]" '(next-buffer :which-key "next-buffer ") | |
"bb" '(switch-to-buffer :which-key "switch-to-buffer ") | |
"bd" '(kill-current-buffer :which-key "kill-current-buffer ") | |
"bi" '(ibuffer :which-key "ibuffer ") | |
"bk" '(kill-current-buffer :which-key "kill-current-buffer ") | |
"bl" '(evil-switch-to-windows-last-buffer :which-key "evil-switch-to-windows-last-buffer ") | |
"bm" '(bookmark-set :which-key "bookmark-set ") | |
"bn" '(next-buffer :which-key "next-buffer ") | |
"bp" '(previous-buffer :which-key "previous-buffer ") | |
"br" '(revert-buffer :which-key "revert-buffer ") | |
"bs" '(basic-save-buffer :which-key "basic-save-buffer ") | |
"bz" '(bury-buffer :which-key "bury-buffer ") | |
;; "hC-a" '(about-emacs :which-key "about-emacs ") | |
;; "hC-c" '(describe-coding-system :which-key "describe-coding-system ") | |
;; "hC-d" '(view-emacs-debugging :which-key "view-emacs-debugging ") | |
;; "hC-e" '(view-external-packages :which-key "view-external-packages ") | |
;; "hC-f" '(view-emacs-FAQ :which-key "view-emacs-FAQ ") | |
;; "hC-k" '(describe-key-briefly :which-key "describe-key-briefly ") | |
;; "hC-l" '(describe-language-environment :which-key "describe-language-environment ") | |
;; "hRET" '(info-emacs-manual :which-key "info-emacs-manual ") | |
;; "hC-n" '(view-emacs-news :which-key "view-emacs-news ") | |
;; "hC-o" '(describe-distribution :which-key "describe-distribution ") | |
;; "hC-p" '(view-emacs-problems :which-key "view-emacs-problems ") | |
;; "hC-s" '(search-forward-help-for-help :which-key "search-forward-help-for-help ") | |
;; "hC-t" '(view-emacs-todo :which-key "view-emacs-todo ") | |
;; "hC-w" '(describe-no-warranty :which-key "describe-no-warranty ") | |
;; "hC-\\" '(describe-input-method :which-key "describe-input-method ") | |
;; "h'" '(describe-char :which-key " '(describe-char ") | |
"h." '(display-local-help :which-key "display-local-help ") | |
"h?" '(help-for-help :which-key "help-for-help ") | |
"hA" '(apropos-documentation :which-key "apropos-documentation ") | |
"hC" '(describe-coding-system :which-key "describe-coding-system ") | |
"hF" '(describe-face :which-key "describe-face ") | |
"hI" '(describe-input-method :which-key "describe-input-method ") | |
"hK" '(Info-goto-emacs-key-command-node :which-key "Info-goto-emacs-key-command-node ") | |
"hL" '(describe-language-environment :which-key "describe-language-environment ") | |
"hO" '(+lookup/online :which-key "+lookup/online ") | |
"hP" '(find-library :which-key "find-library ") | |
"hS" '(info-lookup-symbol :which-key "info-lookup-symbol ") | |
"hV" '(set-variable :which-key "set-variable ") | |
"hW" '(+default/man-or-woman :which-key "+default/man-or-woman ") | |
"ha" '(apropos :which-key "apropos ") | |
"hc" '(describe-key-briefly :which-key "describe-key-briefly ") | |
"he" '(view-echo-area-messages :which-key "view-echo-area-messages ") | |
"hf" '(describe-function :which-key "describe-function ") | |
"hg" '(describe-gnu-project :which-key "describe-gnu-project ") | |
"hi" '(info :which-key "info ") | |
"hk" '(describe-key :which-key "describe-key ") | |
"hl" '(view-lossage :which-key "view-lossage ") | |
"hm" '(describe-mode :which-key "describe-mode ") | |
"ho" '(describe-symbol :which-key "describe-symbol ") | |
"hq" '(help-quit :which-key "help-quit ") | |
"hs" '(describe-syntax :which-key "describe-syntax ") | |
"ht" '(load-theme :which-key "load-theme ") | |
"hv" '(describe-variable :which-key "describe-variable ") | |
"hw" '(where-is :which-key "where-is ") | |
"h<f1>" '(help-for-help :which-key "help-for-help ") | |
"h<help>" '(help-for-help :which-key "help-for-help ") | |
"wC-b" '(evil-window-bottom-right :which-key "evil-window-bottom-right ") | |
"wC-c" '(ace-delete-window :which-key "ace-delete-window ") | |
"wC-f" '(ffap-other-window :which-key "ffap-other-window ") | |
"wC-h" '(evil-window-left :which-key "evil-window-left ") | |
"wC-j" '(evil-window-down :which-key "evil-window-down ") | |
"wC-k" '(evil-window-up :which-key "evil-window-up ") | |
"wC-l" '(evil-window-right :which-key "evil-window-right ") | |
"wC-n" '(evil-window-new :which-key "evil-window-new ") | |
"wC-o" '(delete-other-windows :which-key "delete-other-windows ") | |
"wC-p" '(evil-window-mru :which-key "evil-window-mru ") | |
"wC-r" '(winner-redo :which-key "winner-redo ") | |
"wC-s" '(evil-window-split :which-key "evil-window-split ") | |
"wC-t" '(evil-window-top-left :which-key "evil-window-top-left ") | |
"wC-u" '(winner-undo :which-key "winner-undo ") | |
"wC-v" '(evil-window-vsplit :which-key "evil-window-vsplit ") | |
"wC-w" '(other-window :which-key "other-window ") | |
"wC-_" '(evil-window-set-height :which-key "evil-window-set-height ") | |
"w+" '(evil-window-increase-height :which-key "evil-window-increase-height ") | |
"w-" '(evil-window-decrease-height :which-key "evil-window-decrease-height ") | |
"w<" '(evil-window-decrease-width :which-key "evil-window-decrease-width ") | |
"w=" '(balance-windows :which-key "balance-windows ") | |
"w>" '(evil-window-increase-width :which-key "evil-window-increase-width ") | |
"wH" '(+evil/window-move-left :which-key "+evil/window-move-left ") | |
"wJ" '(+evil/window-move-down :which-key "+evil/window-move-down ") | |
"wK" '(+evil/window-move-up :which-key "+evil/window-move-up ") | |
"wL" '(+evil/window-move-right :which-key "+evil/window-move-right ") | |
"wR" '(evil-window-rotate-upwards :which-key "evil-window-rotate-upwards ") | |
"wS" '(evil-window-split :which-key "evil-window-split ") | |
"wT" '(tear-off-window :which-key "tear-off-window ") | |
"wW" '(evil-window-prev :which-key "evil-window-prev ") | |
"w_" '(evil-window-set-height :which-key "evil-window-set-height ") | |
"wb" '(evil-window-bottom-right :which-key "evil-window-bottom-right ") | |
"wh" '(evil-window-left :which-key "evil-window-left ") | |
"wj" '(evil-window-down :which-key "evil-window-down ") | |
"wk" '(evil-window-up :which-key "evil-window-up ") | |
"wl" '(evil-window-right :which-key "evil-window-right ") | |
"wn" '(evil-window-new :which-key "evil-window-new ") | |
"wp" '(evil-window-mru :which-key "evil-window-mru ") | |
"wq" '(evil-quit :which-key "evil-quit ") | |
"wr" '(evil-window-rotate-downwards :which-key "evil-window-rotate-downwards ") | |
"ws" '(evil-window-split :which-key "evil-window-split ") | |
"wt" '(evil-window-top-left :which-key "evil-window-top-left ") | |
"wu" '(winner-undo :which-key "winner-undo ") | |
"wv" '(evil-window-vsplit :which-key "evil-window-vsplit ") | |
"ww" '(evil-window-next :which-key "evil-window-next ") | |
"w|" '(evil-window-set-width :which-key "evil-window-set-width ") | |
"wC-S-h" '(evil-window-move-far-left :which-key "evil-window-move-far-left ") | |
"wC-S-j" '(evil-window-move-very-bottom :which-key "evil-window-move-very-bottom ") | |
"wC-S-k" '(evil-window-move-very-top :which-key "evil-window-move-very-top ") | |
"wC-S-l" '(evil-window-move-far-right :which-key "evil-window-move-far-right ") | |
"wC-S-r" '(evil-window-rotate-upwards :which-key "evil-window-rotate-upwards ") | |
"wC-S-s" '(evil-window-split :which-key "evil-window-split ") | |
"wC-S-w" '(ace-swap-window :which-key "ace-swap-window ") | |
"oaa" '(org-agenda :which-key "org-agenda ") | |
"oam" '(org-tags-view :which-key "org-tags-view ") | |
"oat" '(org-todo-list :which-key "org-todo-list ") | |
"oav" '(org-search-view :which-key "org-search-view ") | |
"gcR" '(magit-clone :which-key "magit-clone ") | |
"gcb" '(magit-branch-and-checkout :which-key "magit-branch-and-checkout ") | |
"gcc" '(magit-commit-create :which-key "magit-commit-create ") | |
"gcf" '(magit-commit-fixup :which-key "magit-commit-fixup ") | |
"gci" '(forge-create-issue :which-key "forge-create-issue ") | |
"gcp" '(forge-create-pullreq :which-key "forge-create-pullreq ") | |
"gcr" '(magit-init :which-key "magit-init ") | |
"gli" '(forge-list-issues :which-key "forge-list-issues ") | |
"gln" '(forge-list-notifications :which-key "forge-list-notifications ") | |
"glp" '(forge-list-pullreqs :which-key "forge-list-pullreqs ") | |
"glr" '(magit-list-repositories :which-key "magit-list-repositories ") | |
"gls" '(magit-list-submodules :which-key "magit-list-submodules ") | |
"goI" '(forge-browse-issues :which-key "forge-browse-issues ") | |
"goP" '(forge-browse-pullreqs :which-key "forge-browse-pullreqs ") | |
"goc" '(forge-browse-commit :which-key "forge-browse-commit ") | |
"goh" '(+vc/browse-at-remote-homepage :which-key "+vc/browse-at-remote-homepage ") | |
"goi" '(forge-browse-issue :which-key "forge-browse-issue ") | |
"goo" '(browse-at-remote :which-key "browse-at-remote ") | |
"gop" '(forge-browse-pullreq :which-key "forge-browse-pullreq ") | |
"gor" '(forge-browse-remote :which-key "forge-browse-remote ") | |
"gfc" '(magit-show-commit :which-key "magit-show-commit ") | |
"gff" '(magit-find-file :which-key "magit-find-file ") | |
"gfg" '(magit-find-git-config-file :which-key "magit-find-git-config-file ") | |
"gfi" '(forge-visit-issue :which-key "forge-visit-issue ") | |
"gfp" '(forge-visit-pullreq :which-key "forge-visit-pullreq ") | |
"h4i" '(info-other-window :which-key "info-other-window ") | |
"hbb" '(describe-bindings :which-key "describe-bindings ") | |
"hbf" '(which-key-show-full-keymap :which-key "which-key-show-full-keymap ") | |
"hbi" '(which-key-show-minor-mode-keymap :which-key "which-key-show-minor-mode-keymap ") | |
"hbk" '(which-key-show-keymap :which-key "which-key-show-keymap ") | |
"hbm" '(which-key-show-major-mode :which-key "which-key-show-major-mode ") | |
"hbt" '(which-key-show-top-level :which-key "which-key-show-top-level ") | |
)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment