From fe1d933805b550e8f4c77d978b5503b2238243e8 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 11 Jun 2014 19:19:14 +0100 Subject: Emacs: Install tools for Platinum Searcher --- tag-emacs/emacs.d/Cask | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask index b2fcdd6..5be0531 100644 --- a/tag-emacs/emacs.d/Cask +++ b/tag-emacs/emacs.d/Cask @@ -57,6 +57,7 @@ (depends-on "php-mode") (depends-on "popwin") (depends-on "projectile") +(depends-on "pt") (depends-on "puppet-mode") (depends-on "quickrun") (depends-on "redshank") @@ -76,4 +77,5 @@ (depends-on "use-package") (depends-on "visual-regexp") (depends-on "web-mode") +(depends-on "wgrep-pt") (depends-on "yaml-mode") \ No newline at end of file -- cgit 1.4.1 From b8b93e58c61c173503450105314edbce9b5bfd8b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 12 Jun 2014 21:51:34 +0100 Subject: Emacs: diminish redshank and paredit --- tag-emacs/emacs.d/init.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index aa2acb5..5b8dc7a 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -806,6 +806,7 @@ (setq eldoc-idle-delay 0.1))) (req-package paredit + :diminish "()" :commands (paredit-mode) :init (progn (add-hook 'lisp-common-mode-hook #'enable-paredit-mode) @@ -877,6 +878,7 @@ run-racket)) (req-package redshank + :diminish " Λ" :init (progn (add-hook 'lisp-common-mode-hook #'turn-on-redshank-mode))) -- cgit 1.4.1 From c5115c431e9bcd04cc2753e109a6fae7b97d439c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 12 Jun 2014 21:52:10 +0100 Subject: Emacs: simplify flycheck diminish call --- tag-emacs/emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 5b8dc7a..82b7187 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -609,7 +609,7 @@ (global-semantic-decoration-mode t))) (req-package flycheck - :diminish (flycheck-mode . " ✓") + :diminish " ✓" :init (global-flycheck-mode)) (req-package company-go -- cgit 1.4.1 From 89e7a9363975172443cfdcd87cc525076d11d64c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 12 Jun 2014 21:55:03 +0100 Subject: Emacs: bind magit-status keys to projectile-vc More general, and won't have to find the .git folder every time as projectile will already know the project root. --- tag-emacs/emacs.d/init.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 82b7187..f7b8d47 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -651,7 +651,9 @@ (req-package projectile :bind (("C-c C-f" . projectile-find-file) - ("s-x s-f" . projectile-find-file)) + ("s-x s-f" . projectile-find-file) + ("C-x g" . projectile-vc) + ("s-G" . projectile-vc)) :init (projectile-global-mode) :diminish projectile-mode :config (progn @@ -670,8 +672,6 @@ (req-package magit :diminish magit-auto-revert-mode :commands (magit-status) - :bind (("C-x g" . magit-status) - ("s-G" . magit-status)) :init (add-hook 'magit-mode-hook #'magit-load-config-extensions)) ;;;; Spelling -- cgit 1.4.1