feat(emacs): add edit-server package for editing in the web browser

When editing code comments on git platforms like github the input is not very
good when trying to input code. A good example of this is when trying to insert
a tab indent and it will tab away from the input you are typing into.

The edit-server package allows you to open an emacs buffer to edit you comment
or issue into. This will solve the tab issues and give you all of your editor
comforts like auto closing brackets and snippets.
This commit is contained in:
Ade Attwood 2021-11-21 14:43:03 +00:00
parent f8f8203dac
commit 0417e30dc7

View file

@ -68,3 +68,11 @@
;; init.el and messing put git
(setq custom-file (concat user-emacs-directory "custom.el"))
(load custom-file 'noerror)
(use-package edit-server
:ensure t
:commands edit-server-start
:init (if after-init-time
(edit-server-start)
(add-hook 'after-init-hook
#'(lambda() (edit-server-start)))))