about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-06-02 23:37:11 -0500
committerCase Duckworth2021-06-02 23:38:10 -0500
commita363220dbcb003118ac21d13b3e7a098ada96cf2 (patch)
tree26483ae5cddf595db3fb8eb29430ee3fd5a149cc
parentMake some things private-r (diff)
downloademacs-a363220dbcb003118ac21d13b3e7a098ada96cf2.tar.gz
emacs-a363220dbcb003118ac21d13b3e7a098ada96cf2.zip
Add edit-server
Also requires this extension:
https://addons.mozilla.org/en-US/firefox/addon/edit-with-emacs1/
-rw-r--r--init.el8
1 files changed, 8 insertions, 0 deletions
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'."
847 "C-M-\\" crux-cleanup-buffer-or-region 847 "C-M-\\" crux-cleanup-buffer-or-region
848 "C-x 4 t" crux-transpose-windows)) 848 "C-x 4 t" crux-transpose-windows))
849 849
850;; requires extension:
851;; https://addons.mozilla.org/en-US/firefox/addon/edit-with-emacs1/
852(setup (:straight edit-server)
853 (when (and (daemonp)
854 (require 'edit-server nil :noerror))
855 (edit-server-start)
856 (add-hook 'edit-server-done-hook #'unfill-buffer)))
857
850(setup (:straight (electric-cursor 858(setup (:straight (electric-cursor
851 :host github 859 :host github
852 :repo "duckwork/electric-cursor")) 860 :repo "duckwork/electric-cursor"))