diff options
author | Preston Pan <ret2pop@gmail.com> | 2025-02-11 04:06:11 -0800 |
---|---|---|
committer | Preston Pan <ret2pop@gmail.com> | 2025-02-11 04:06:11 -0800 |
commit | f10285de4d0b5c69d026e948a9d9d7278a2ffb64 (patch) | |
tree | dc1138970d2dae203aaeede6e036c637fbf3d2a6 /config/emacs.el | |
parent | be4a011bac9b2212d81b572c3bb9b80f8c326ab0 (diff) |
add resume
Diffstat (limited to 'config/emacs.el')
-rw-r--r-- | config/emacs.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/config/emacs.el b/config/emacs.el index d3b251d..787b8d9 100644 --- a/config/emacs.el +++ b/config/emacs.el @@ -24,9 +24,7 @@ (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) @@ -108,6 +106,7 @@ (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") (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") @@ -136,7 +135,7 @@ :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) @@ -356,7 +355,7 @@ :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 @@ -380,6 +379,7 @@ "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") |