Compare commits

...

3 commits

Author SHA1 Message Date
c415aaa25e [module/rust] enable rust 2024-07-10 22:50:14 +08:00
f691908512 [org/style] remove org-modern 2024-07-10 22:49:41 +08:00
4639c0c837 [style] change theme 2024-07-10 22:48:57 +08:00
3 changed files with 8 additions and 30 deletions

View file

@ -4,7 +4,7 @@
现在我用的主题是……
#+begin_src emacs-lisp
(setq doom-theme 'ef-spring)
(setq doom-theme 'ef-melissa-dark)
#+end_src
* 启动
@ -69,32 +69,6 @@
#+end_src
** org-modern
=org-mode= 变得更加好看!
#+begin_src emacs-lisp
(use-package! org-modern
:hook (org-mode . org-modern-mode)
:config
(setq org-modern-star '("◉" "○" "✸" "✿" "✤" "✜" "◆" "▶")
org-modern-table-vertical 1
org-modern-table-horizontal 0.2
org-modern-list '((43 . "➤")
(45 . "")
(42 . "•"))
org-modern-block-name
'((t . t)
("src" "»" "«")
("example" "»–" "–«")
("quote" "❝" "❞")
("export" "⏩" "⏪"))
org-modern-progress nil
org-modern-priority nil
org-modern-horizontal-rule (make-string 36 ?─)
)
)
#+end_src
** org-capture
一些捕获模板和路径设置,但说实在自从用了 =org-roam= 那边这边就没怎么管了。
@ -240,7 +214,7 @@
`(let* ,(setq varlist (internal--build-bindings (caar forms)))
(if-let ,(car (last varlist))
,(cadar forms)
(cond-let ,(cdr forms))))))
(cond-let ,(cdr ,@forms))))))
#+end_src
* 杂项

View file

@ -176,7 +176,9 @@
;;rest ; Emacs as a REST client
;;rst ; ReST in peace
;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"}
;;(rust +lsp) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
(rust
+lsp
+tree-sitter) ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
;;scala ; java, but good
(scheme +guile) ; a fully conniving family of lisps
sh ; she sells {ba,z,fi}sh shells on the C xor

View file

@ -63,7 +63,6 @@
(package! org-roam-ui)
(package! ox-hugo)
(package! ob-restclient)
(package! org-modern)
(package! sdcv
:recipe (:host github :repo "manateelazycat/sdcv"))
@ -75,3 +74,6 @@
(package! cider)
(package! flycheck-clj-kondo)
(package! clj-refactor)
;; rust
(unpin! rustic)