feat(emacs): Keybinds all around!

This commit is contained in:
Madeleine Sydney
2025-03-10 15:16:47 -06:00
parent 46b0844bd9
commit 61c3b13023
4 changed files with 43 additions and 12 deletions

View File

@@ -41,10 +41,14 @@
"c" #'haskell-cabal-visit-file
"h s" #'haskell-hoogle-start-server
"h q" #'haskell-hoogle-kill-server)
(general-def :keymaps 'interactive-haskell-mode-map
(:keymaps 'interactive-haskell-mode-map
:states '(normal insert)
"C-j" #'haskell-interactive-mode-history-next
"C-k" #'haskell-interactive-mode-history-previous)
(:keymaps 'haskell-mode-map
:states 'normal
[remap evil-open-above] #'syd-haskell-evil-open-above
[remap evil-open-below] #'syd-haskell-evil-open-below)
:config
(set-repl-handler! '(haskell-mode haskell-cabal-mode literate-haskell-mode)
#'syd-haskell-open-repl