From e2a8bc0dc5bf816bf2ed1579a855c25270167836 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 29 Oct 2021 09:02:00 +0200 Subject: gkleen@sif: edit with emacs --- accounts/gkleen@sif/default.nix | 1 + accounts/gkleen@sif/emacs.el | 3 +++ 2 files changed, 4 insertions(+) (limited to 'accounts') diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 9ea9b753..f404b99b 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -93,6 +93,7 @@ in { smart-mode-line highlight-parentheses highlight-symbol notmuch ag sass-mode lua-mode fira-code-mode use-package use-package-ensure-system-package git-gutter emacsScratch + edit-server ]; }; firefox = { diff --git a/accounts/gkleen@sif/emacs.el b/accounts/gkleen@sif/emacs.el index e01f7658..6c688cac 100644 --- a/accounts/gkleen@sif/emacs.el +++ b/accounts/gkleen@sif/emacs.el @@ -16,6 +16,9 @@ (require 'evil) (evil-mode 1) +(require 'edit-server) +(edit-server-start) + (global-subword-mode) (global-undo-tree-mode) (global-fira-code-mode) -- cgit v1.2.3