From 9c098ca18cd75d12d9e733b4918f3120846c01ad Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Wed, 13 Mar 2019 09:48:11 -0400 Subject: Be more consistent with :bind declarations --- jakob.org | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/jakob.org b/jakob.org index b332f50..25dc141 100644 --- a/jakob.org +++ b/jakob.org @@ -318,7 +318,7 @@ Use Counsel as a frontend to a couple of interactive commands. (use-package counsel :demand t :bind - (("C-x b" . counsel-switch-buffer))) + ("C-x b" . counsel-switch-buffer)) #+END_SRC Use Swiper instead of isearch. @@ -1030,9 +1030,9 @@ Global keybindings for my Org workflow. #+BEGIN_SRC elisp :bind - (("C-c a" . (lambda () (interactive) (org-agenda nil "d"))) - ("C-c c" . (lambda () (interactive) (org-capture nil "c"))) - ("C-c t" . (lambda () (interactive) (org-capture nil "t")))) + ("C-c a" . (lambda () (interactive) (org-agenda nil "d"))) + ("C-c c" . (lambda () (interactive) (org-capture nil "c"))) + ("C-c t" . (lambda () (interactive) (org-capture nil "t"))) #+END_SRC Use Counsel's functionality for adding tags. @@ -1583,8 +1583,8 @@ instead of those used for minibuffer next/previous. (:map company-active-map ("M-n" . nil) ("M-p" . nil) - ("C-n" . #'company-select-next) - ("C-p" . #'company-select-previous))) + ("C-n" . company-select-next) + ("C-p" . company-select-previous))) #+END_SRC ** compile @@ -1631,7 +1631,8 @@ Set up key bindings for getting to the Magit status buffer. #+BEGIN_SRC elisp (use-package magit - :bind ("C-c g" . magit-status)) + :bind + ("C-c g" . magit-status)) #+END_SRC ** Projectile @@ -1819,11 +1820,12 @@ capable of showing source code, keybindings, symbol properties, etc.n #+BEGIN_SRC elisp (use-package helpful - :bind (("C-h f" . helpful-callable) - ("C-h v" . helpful-variable) - ("C-h k" . helpful-key) - ("C-h C" . helpful-command) - ("C-c C-d" . helpful-at-point))) + :bind + ("C-h f" . helpful-callable) + ("C-h v" . helpful-variable) + ("C-h k" . helpful-key) + ("C-h C" . helpful-command) + ("C-c C-d" . helpful-at-point)) #+END_SRC ** Common Lisp -- cgit v1.3