From a6f1a172de8dcc73944671aa13aaff4c31afd7fe Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Mon, 26 Jul 2021 01:40:37 +0100 Subject: (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). --- Emacs/.config/emacs/config.org | 1 + 1 file changed, 1 insertion(+) (limited to 'Emacs/.config/emacs/config.org') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index a67ee2a..e88b0b4 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -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*" -- cgit v1.2.3-13-gbd6f