From 9f0401305d93202de52e277c4a7ee35e45c8f92f Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 16 Jun 2016 11:06:30 -0700 Subject: [PATCH] keybindings section, hydra --- dotfiles/emacs.d/README.org | 39 ++++++++++++++++++++++++------------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 594c581a..b2b6ac02 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -735,19 +735,6 @@ This keyboard macro extracts the current sexp to an emacs-lisp source block of i #+BEGIN_SRC emacs-lisp (use-package list-environment) #+END_SRC -*** bind-key -#+BEGIN_SRC emacs-lisp - (use-package bind-key) -#+END_SRC -*** which-key -#+BEGIN_SRC emacs-lisp - (use-package which-key - :config - (progn - (setq which-key-idle-delay .50) - (diminish 'which-key-mode) - (which-key-mode))) -#+END_SRC *** exec-path-from-shell Sets environment variables by starting a shell #+BEGIN_SRC emacs-lisp @@ -785,6 +772,32 @@ Sets environment variables by starting a shell #+BEGIN_SRC emacs-lisp (use-package discover-my-major) #+END_SRC +** Keybindings +*** bind-key +#+BEGIN_SRC emacs-lisp + (use-package bind-key) +#+END_SRC +*** which-key +#+BEGIN_SRC emacs-lisp + (use-package which-key + :config + (progn + (setq which-key-idle-delay .50) + (diminish 'which-key-mode) + (which-key-mode))) +#+END_SRC +*** hydra +#+BEGIN_SRC emacs-lisp + (use-package hydra + :config + (progn + (defhydra hydra-font-resize + (global-map "C-M-=") + "font-resize" + ("-" modi/font-size-decr "Decrease") + ("=" modi/font-size-incr "Increase") + ("0" modi/font-size-reset "Reset to default size")))) +#+END_SRC ** org #+BEGIN_SRC emacs-lisp (use-package org