From 13088101db9a7a91a0730a68b5001373a6efd9dc Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 29 Sep 2016 20:37:48 -0700 Subject: [PATCH] [Emacs] Add bindings for hoogle --- dotfiles/emacs.d/README.org | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 12334085..bb5de0b1 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -2371,8 +2371,11 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877 #+BEGIN_SRC emacs-lisp (use-package haskell-mode :commands haskell-mode + :bind (:map haskell-mode-map + ("C-c h" . haskell-hoogle)) :config (progn + (setq haskell-hoogle-command "hoogle") (require 'flycheck) (delq 'haskell-stack-ghc flycheck-checkers) (add-hook 'haskell-mode-hook 'turn-on-haskell-indent)