aboutsummaryrefslogtreecommitdiff
path: root/config/emacs.org
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@gmail.com>2025-02-11 04:06:11 -0800
committerPreston Pan <ret2pop@gmail.com>2025-02-11 04:06:11 -0800
commitf10285de4d0b5c69d026e948a9d9d7278a2ffb64 (patch)
treedc1138970d2dae203aaeede6e036c637fbf3d2a6 /config/emacs.org
parentbe4a011bac9b2212d81b572c3bb9b80f8c326ab0 (diff)
add resume
Diffstat (limited to 'config/emacs.org')
-rw-r--r--config/emacs.org10
1 files changed, 5 insertions, 5 deletions
diff --git a/config/emacs.org b/config/emacs.org
index 8dff691..a962ac2 100644
--- a/config/emacs.org
+++ b/config/emacs.org
@@ -45,9 +45,7 @@ Emacs is self documenting, after all!
(c-doc-comment-style '((c-mode . doxygen)
(c++-mode . doxygen)))
- :hook ((text-mode . auto-fill-mode)
- (text-mode . visual-line-mode)
- (prog-mode . auto-fill-mode)
+ :hook ((text-mode . visual-line-mode)
(prog-mode . display-line-numbers-mode)
(prog-mode . display-fill-column-indicator-mode)
(org-mode . auto-fill-mode)
@@ -142,6 +140,7 @@ This is my org mode configuration, which also configures latex.
(org-latex-preview-image-directory (expand-file-name "~/.cache/ltximg/") "don't use weird cache location")
(org-preview-latex-image-directory (expand-file-name "~/.cache/ltximg/") "don't use weird cache location")
(TeX-PDF-mode t)
+ (org-latex-compiler "xelatex" "Use latex as default")
(org-latex-pdf-process '("xelatex -interaction=nonstopmode -output-directory=%o %f") "set xelatex as default")
(TeX-engine 'xetex "set xelatex as default engine")
(preview-default-option-list '("displaymath" "textmath" "graphics") "preview latex")
@@ -170,7 +169,7 @@ This is my org mode configuration, which also configures latex.
:html-preamble-format (("en" "<p class=\"preamble\"><a href=\"/index.html\">home</a> | <a href=\"./index.html\">section main page</a></p><hr>")))
("website-static"
:base-directory "~/monorepo"
- :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|ico\\|asc\\|pub\\|webmanifest\\|xml"
+ :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|ico\\|asc\\|pub\\|webmanifest\\|xml\\|svg"
:publishing-directory "~/website_html/"
:recursive t
:publishing-function org-publish-attachment)
@@ -461,7 +460,7 @@ emacs keybindings.
:port "6697"))
(defun matrix-org ()
(interactive)
- (ement-connect :uri-prefix "http://localhost:8009"))
+ (ement-connect))
:config
(general-create-definer leader-key :prefix "SPC")
(leader-key 'normal
@@ -485,6 +484,7 @@ emacs keybindings.
"o t" '(vterm :wk "Terminal")
"o e" '(eshell :wk "Elisp Interpreter")
"o m" '(mu4e :wk "Email")
+ "o M" '(matrix-org :wk "Connect to matrix")
"e w w" '(eww :wk "web browser")
"e c c" '(ellama-chat :wk "Chat with Ollama")