From a363220dbcb003118ac21d13b3e7a098ada96cf2 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 2 Jun 2021 23:37:11 -0500 Subject: Add edit-server Also requires this extension: https://addons.mozilla.org/en-US/firefox/addon/edit-with-emacs1/ --- init.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/init.el b/init.el index aaa73f6..2b60bd0 100644 --- a/init.el +++ b/init.el @@ -847,6 +847,14 @@ if ripgrep is installed, otherwise `consult-grep'." "C-M-\\" crux-cleanup-buffer-or-region "C-x 4 t" crux-transpose-windows)) +;; requires extension: +;; https://addons.mozilla.org/en-US/firefox/addon/edit-with-emacs1/ +(setup (:straight edit-server) + (when (and (daemonp) + (require 'edit-server nil :noerror)) + (edit-server-start) + (add-hook 'edit-server-done-hook #'unfill-buffer))) + (setup (:straight (electric-cursor :host github :repo "duckwork/electric-cursor")) -- cgit 1.4.1-21-gabe81