summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2022-05-20 06:35:25 -0400
committerKjetil Orbekk <kj@orbekk.com>2022-05-20 06:35:25 -0400
commit5b420fca006f3e20e3e695264e2743a0f5aa6952 (patch)
treea211f66b228e49289d97177ccd200e22652806a4 /emacs
parentca8e87be98fc0150a84f9286e49214086ad18148 (diff)
Enable evil embrace
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.doom.d/config.el24
1 files changed, 12 insertions, 12 deletions
diff --git a/emacs/.doom.d/config.el b/emacs/.doom.d/config.el
index efd4fa7..758c865 100644
--- a/emacs/.doom.d/config.el
+++ b/emacs/.doom.d/config.el
@@ -190,7 +190,7 @@
(cons aelem (assq-delete-all (car aelem) alist)))))
(if replacements
(kj/assq-replace (cdr replacements)
- (funcall replace1 (car replacements) alist))
+ (funcall replace1 (car replacements) alist))
alist)))
(server-start)
@@ -220,15 +220,15 @@
(kj/assq-replace '((:exports . "both")
(:eval . "never-export")
(:output-dir . "static/data/"))
- org-babel-default-header-args))
+ org-babel-default-header-args))
(defun kj/org-journal-find-location ()
;; Open today's journal, but specify a non-nil prefix argument in order to
;; inhibit inserting the heading; org-capture will insert the heading.
(org-journal-new-entry t))
- ;; (unless (eq org-journal-file-type 'daily)
- ;; (org-narrow-to-subtree))
- ;; (goto-char (point-max)))
+ ;; (unless (eq org-journal-file-type 'daily)
+ ;; (org-narrow-to-subtree))
+ ;; (goto-char (point-max)))
(defun kj/org-journal-narrowed-location ()
;; Open today's journal, but specify a non-nil prefix argument in order to
@@ -324,7 +324,7 @@
:with-title t
:section-numbers nil
- ;; HTML options
+ ;; HTML options
:html-toplevel-hlevel 2
:html-preamble ""
:html-postamble ""
@@ -334,9 +334,9 @@
:html-head-include-scripts nil
:html-head-include-default-style nil
:html-container article)
-
+
("all" :components ("static" "source" "html")))))
-
+
(org-publish project force))))
(setq aw-dispatch-always t)
@@ -353,11 +353,11 @@
(add-hook 'eshell-mode-hook
(lambda ()
- (setenv "PAGER" "cat"))
- (setenv "EDITOR" "emacsclient"))
+ (setenv "PAGER" "cat"))
+ (setenv "EDITOR" "emacsclient"))
-(after! rustic
- (setq rustic-lsp-server 'rls))
+(after! evil-embrace
+ (evil-embrace-enable-evil-surround-integration))
(let ((local-config "~/.doom.d/config.local.el"))
(when (file-exists-p local-config)