aboutsummaryrefslogtreecommitdiff
path: root/Emacs/.config/emacs/config.org
diff options
context:
space:
mode:
authorAryadev Chavali <aryadev@aryadevchavali.com>2021-07-26 01:40:37 +0100
committerAryadev Chavali <aryadev@aryadevchavali.com>2021-07-26 01:40:37 +0100
commita6f1a172de8dcc73944671aa13aaff4c31afd7fe (patch)
tree4086c86b3006d7486e7ee5e11e1376e2c2fb700f /Emacs/.config/emacs/config.org
parentb3f78e588b55e8676997377b14868689986b12a9 (diff)
downloaddotfiles-a6f1a172de8dcc73944671aa13aaff4c31afd7fe.tar.gz
dotfiles-a6f1a172de8dcc73944671aa13aaff4c31afd7fe.tar.bz2
dotfiles-a6f1a172de8dcc73944671aa13aaff4c31afd7fe.zip
(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).
Diffstat (limited to 'Emacs/.config/emacs/config.org')
-rw-r--r--Emacs/.config/emacs/config.org1
1 files changed, 1 insertions, 0 deletions
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*"