diff options
-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) |