From 26c6823f632c2b5b9e565825a7c86e2094a28e6a Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Thu, 29 Jul 2021 12:03:31 +0200 Subject: [PATCH] config/doom: add some packages --- .config/doom/config.el | 6 ++++-- .config/doom/init.el | 8 ++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.config/doom/config.el b/.config/doom/config.el index fe775d8..6758b78 100644 --- a/.config/doom/config.el +++ b/.config/doom/config.el @@ -204,7 +204,7 @@ Version 2019-11-04 2021-02-16" '("<%d.%m.%Y>" . "<%d.%m.%Y>")) (org-display-custom-times 't)) (org-export-dispatch)) - ) + ) ;; https://emacs.stackexchange.com/questions/38529/make-multiple-lines-todos-at-once-in-org-mode (defun org-change-todo-in-region () @@ -352,7 +352,7 @@ Version 2019-11-04 2021-02-16" ;; Make dired open certain file types externally when pressing RET on a file https://pastebin.com/8QWYpCA2 ;; Alternative: https://www.emacswiki.org/emacs/OpenWith (defvar unsupported-mime-types - '("image/x-xcf")) + '("image/x-xcf" "application/zip")) (load "subr-x") @@ -360,6 +360,8 @@ Version 2019-11-04 2021-02-16" (string-trim (shell-command-to-string (concat "file -b --mime-type " filepath)))) + ;;(let ((mime "image/x-xcf")) (msg mime)) + (defun dired-find-file-dwim () (interactive) (let* ((file (dired-get-filename nil t)) diff --git a/.config/doom/init.el b/.config/doom/init.el index 0dca4c8..6bde4f5 100644 --- a/.config/doom/init.el +++ b/.config/doom/init.el @@ -139,13 +139,13 @@ ;;latex ; writing papers in Emacs has never been so fun ;;lean ;;factor - ;;ledger ; an accounting system in Emacs - ;;lua ; one-based indices? one-based indices + ledger ; an accounting system in Emacs + lua ; one-based indices? one-based indices markdown ; writing docs for people to ignore ;;nim ; python + lisp at the speed of c - ;;nix ; I hereby declare "nix geht mehr!" + nix ; I hereby declare "nix geht mehr!" ;;ocaml ; an objective camel - (org +noter +dragndrop +present +roam +journal); organize your plain life in plain text + (org +noter +dragndrop +present +roam +journal) ; organize your plain life in plain text ;;php ; perl's insecure younger brother ;;plantuml ; diagrams for confusing people more ;;purescript ; javascript, but functional