diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-01-13 22:51:00 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-01-13 22:51:00 -0500 |
commit | 08b0735bf8b066e509a2d6e1af369d9dcab37621 (patch) | |
tree | a65681a35879c3d056f1493b50b27da32cb4e31a /lisp | |
parent | 231e8e8d38431b2a510f4883fc28d6690524ef14 (diff) | |
download | emacs.d-08b0735bf8b066e509a2d6e1af369d9dcab37621.tar.gz |
Update interactive-haskell-mode setup
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-haskell.el | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lisp/init-haskell.el b/lisp/init-haskell.el index 7e3766b..4bf5fbb 100644 --- a/lisp/init-haskell.el +++ b/lisp/init-haskell.el @@ -3,8 +3,14 @@ (add-hook 'haskell-mode-hook 'interactive-haskell-mode) (add-hook 'haskell-mode-hook 'turn-on-haskell-doc) -(after 'haskell-process - ;; Unbind `haskell-process-cabal' from user's key. - (define-key interactive-haskell-mode-map (kbd "C-c c") nil)) +(after 'haskell-mode + (define-key haskell-mode-map (kbd "C-x C-d") nil) + (define-key haskell-mode-map (kbd "C-c C-z") 'haskell-interactive-switch) + (define-key haskell-mode-map (kbd "C-c C-l") 'haskell-process-load-file) + (define-key haskell-mode-map (kbd "C-c C-b") 'haskell-interactive-switch) + (define-key haskell-mode-map (kbd "C-c C-t") 'haskell-process-do-type) + (define-key haskell-mode-map (kbd "C-c C-i") 'haskell-process-do-info) + (define-key haskell-mode-map (kbd "C-c M-.") nil) + (define-key haskell-mode-map (kbd "C-c C-d") nil)) (provide 'init-haskell) |