X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=emacs.d%2Fconfig.org;h=e1a6db3e1b987b73b298c2810821d0a9feec34c9;hb=9f8fedc6632c2e497d009ff5e53728c43cef6205;hp=ce7d3bb8bec652078e203dbc3dd5dfe1dcb1f20c;hpb=2a7e1a0e0b1b7a67b32170de542f7df40d7a7bb4;p=dotfiles.git diff --git a/emacs.d/config.org b/emacs.d/config.org index ce7d3bb..e1a6db3 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -1357,6 +1357,30 @@ Refer [[https://github.com/abo-abo/hydra/blob/master/hydra-examples.el][hydra-ex #+END_SRC +*** hydra misc +#+BEGIN_SRC emacs-lisp :tangle yes :results silent + (defhydra sd/hydra-misc () + "Miscellaneous Commands" + ("e" eshell "eshell" :color red :exit t) + ("p" (lambda () + (interactive) + (if (sd/buffer-exist "*Packages*") + (switch-to-buffer "*Packages*") + (package-list-packages))) + "list-package" :color red :exit t) + ("g" magit-status "git-status" :color red :exit t)) +#+END_SRC + +*** hydra launcher +#+BEGIN_SRC emacs-lisp :tangle yes :results silent + (defhydra hydra-launcher (:color blue :columns 2) + "Launch" + ("h" man "man") + ("s" eshell "eshell") + ("p" package-list-packages "Package") + ("q" nil "cancel")) +#+END_SRC + ** Line Number Enable linum mode on programming modes