(Emacs)+haskell-multiedit

Just some code to make editing in the Haskell REPL a nicer
experience.  Allows me to write multi-line code in a separate buffer
with haskell-mode switched on, then with a simple keybinding paste and
evaluate the full code in the Haskell REPL.  The keybindings and
workflow are similar to org-src block editing (create a new buffer,
then paste the contents back into the original buffer).
This commit is contained in:
2021-07-26 01:40:37 +01:00
parent b3f78e588b
commit a6f1a172de
2 changed files with 67 additions and 0 deletions

View File

@@ -2518,6 +2518,7 @@ Here I configure the REPL for Haskell via the
(display-buffer-at-bottom)
(window-height . 0.25))
:config
(load (concat user-emacs-directory "haskell-multiedit.el"))
(+dx/create-toggle-function
+shell/toggle-haskell-repl
"*haskell*"