added compile bindings for haskell mode

This commit is contained in:
petrucci4prez 2018-09-08 19:11:48 -04:00
parent 6fd3b9378a
commit 79fa218c0f
1 changed files with 8 additions and 0 deletions

View File

@ -2084,6 +2084,14 @@ These are for mode-specific bindings that can/should be outside of the evil maps
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(define-key dired-mode-map (kbd "C-x g") 'magit) (define-key dired-mode-map (kbd "C-x g") 'magit)
#+END_SRC #+END_SRC
*** haskell-mode
#+BEGIN_SRC emacs-lisp
(eval-after-load 'haskell-mode
'(define-key haskell-mode-map (kbd "C-c C-c") 'haskell-compile))
(eval-after-load 'haskell-cabal
'(define-key haskell-cabal-mode-map (kbd "C-c C-c") 'haskell-compile))
#+END_SRC
** global ** global
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(global-set-key (kbd "<f1>") 'org-agenda) (global-set-key (kbd "<f1>") 'org-agenda)