From ed027841193b1ba47a2c1ac182fd7a416e2c99ce Mon Sep 17 00:00:00 2001 From: Nathan Bittner Date: Wed, 14 Feb 2018 12:44:49 -0600 Subject: [PATCH 1/2] Use `use-package` for comment-dwim-2 instead of setting global kbd command. The latter fails if comment-dwim-2 is not installed on users computer. --- custom/setup-editing.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/custom/setup-editing.el b/custom/setup-editing.el index e4833d46..a56e26b2 100644 --- a/custom/setup-editing.el +++ b/custom/setup-editing.el @@ -77,7 +77,9 @@ (add-hook 'fundamental-mode 'ws-butler-mode)) ;; PACKAGE: comment-dwim-2 -(global-set-key (kbd "M-;") 'comment-dwim-2) +(use-package comment-dwim-2 + :bind (("M-;" . comment-dwim-2)) + ) ;; PACKAGE: anzu ;; GROUP: Editing -> Matching -> Isearch -> Anzu From 586ebfbb3eb800bfff4c6a662668e85005ed17f4 Mon Sep 17 00:00:00 2001 From: Nathan Bittner Date: Wed, 14 Feb 2018 12:54:36 -0600 Subject: [PATCH 2/2] Fixes #16 counsel-projectile-mode instead of counsel-projectile-on --- custom/setup-ivy-counsel.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom/setup-ivy-counsel.el b/custom/setup-ivy-counsel.el index 8ebc22e4..20c56aa6 100644 --- a/custom/setup-ivy-counsel.el +++ b/custom/setup-ivy-counsel.el @@ -20,6 +20,6 @@ (use-package counsel-projectile :init - (counsel-projectile-on)) + (counsel-projectile-mode)) (provide 'setup-ivy-counsel)