feat: a lot of changes :<

This commit is contained in:
Flinner Yuu 2022-07-14 13:54:14 +03:00
parent 67c9159938
commit b04f3513ae
Signed by: flinner
GPG Key ID: 95CE0DA7F0E58CA6
1 changed files with 89 additions and 41 deletions

View File

@ -914,6 +914,7 @@ use-package
:config :config
(require 'org-tempo) (require 'org-tempo)
(require 'org-habit) (require 'org-habit)
(add-to-list 'org-file-apps '("\\.xlsx\\'" . default))
(setq geiser-default-implementation 'guile) (setq geiser-default-implementation 'guile)
(setq org-ellipsis " ⤵") (setq org-ellipsis " ⤵")
(setq org-agenda-start-with-log-mode t) (setq org-agenda-start-with-log-mode t)
@ -933,6 +934,8 @@ use-package
(set-face-attribute (car face) nil :font my/ui/varfont :weight 'regular :height (cdr face))) (set-face-attribute (car face) nil :font my/ui/varfont :weight 'regular :height (cdr face)))
;) ;)
(setq org-todo-keyword-faces `(("NOW" (:foreground "white" :background "#444527"))
("NEXT" (:foreground "bright-white" :background "#444527"))))
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5)) (setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5))
;; Ensure that anything that should be fixed-pitch in Org files appears that way ;; Ensure that anything that should be fixed-pitch in Org files appears that way
@ -956,6 +959,13 @@ Capture Templates
:commands (doct)) :commands (doct))
#+end_src #+end_src
** Open with external app
#+begin_src emacs-lisp
;; Excel with xdg-open
;;(add-to-list 'org-file-apps '("\\.xlsx\\'" . default))
;; moved to org use package
#+end_src
** Appearance ** Appearance
*** Symbols *** Symbols
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -1118,6 +1128,12 @@ From: https://yiufung.net/post/anki-org/
#+end_src #+end_src
** Agenda ** Agenda
*** Customizations
#+begin_src emacs-lisp
;;laggy :(
(setq org-agenda-show-outline-path nil)
#+end_src
*** T/ODOs *** T/ODOs
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq org-todo-keywords '((sequence "TODO(t)" "NOW(o)" "NEXT(n)" "|" "DONE(d)") (setq org-todo-keywords '((sequence "TODO(t)" "NOW(o)" "NEXT(n)" "|" "DONE(d)")
@ -1371,6 +1387,11 @@ Stolen from: [[https://blog.jethro.dev/posts/processing_inbox/][Org-mode Workflo
(org-pomodoro-manual-break t)) (org-pomodoro-manual-break t))
#+end_src #+end_src
** Org analyzer
#+begin_src emacs-lisp
(use-package org-analyzer)
#+end_src
** org-roam ** org-roam
*** use-package *** use-package
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -1475,7 +1496,7 @@ Stopped using this, I just use Anki like a normal person
(use-package rainbow-delimiters (use-package rainbow-delimiters
:hook (prog-mode . rainbow-delimiters-mode) :hook (prog-mode . rainbow-delimiters-mode)
(prog-mode . show-paren-mode) (prog-mode . show-paren-mode)
(prog-mode . electric-pair-mode) (prog-mode . electric-pair-local-mode)
) )
#+end_src #+end_src
@ -1620,6 +1641,7 @@ Magit TODOs!
:after magit :after magit
:config (magit-todos-mode 1)) :config (magit-todos-mode 1))
#+end_src #+end_src
*** TODO Forge *** TODO Forge
#+begin_src emacs-lisp #+begin_src emacs-lisp
;(use-package forge) ;(use-package forge)
@ -1687,13 +1709,14 @@ Get treemacs-lsp
:defer t) :defer t)
#+end_src #+end_src
*** COMMENT Clojure *** Clojure
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package cider (use-package cider
:defer t :defer t
:config (require 'flycheck-clj-kondo) :config (require 'flycheck-clj-kondo)
:hook (clojure-mode . zprint-format-on-save-mode) :hook (clojure-mode . zprint-format-on-save-mode)
(clojure-mode . flycheck-mode) (clojure-mode . flycheck-mode)
(clojure-mode . electric-pair-local-mode)
:bind (:map cider-mode-map :bind (:map cider-mode-map
([remap lsp-find-definition] . cider-find-var) ([remap lsp-find-definition] . cider-find-var)
([remap eval-defun] . cider-eval-list-at-point) ([remap eval-defun] . cider-eval-list-at-point)
@ -1868,6 +1891,12 @@ lsp hooks setups
(add-hook 'js-mode-hook 'lsp) (add-hook 'js-mode-hook 'lsp)
#+end_src #+end_src
*** Lua
#+begin_src emacs-lisp
(use-package lua-mode
:hook (lua-mode . lsp))
#+end_src
*** Markdown *** Markdown
Better Diff in header sizes Better Diff in header sizes
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -2118,6 +2147,14 @@ ivy bibtex
#+end_src #+end_src
*** Nix(OS)
#+begin_src emacs-lisp
(use-package nix-mode
:hook (nix-mode . (lambda ()
(add-hook 'before-save-hook 'nix-mode-format nil t))))
#+end_src
** Tramp ** Tramp
#+begin_src emacs-lisp #+begin_src emacs-lisp
; moved to Git ; moved to Git
@ -2658,6 +2695,18 @@ I prefer text/plain, over everything >:)
#+end_src #+end_src
* Matrix Ement
#+begin_src emacs-lisp
(use-package ement
:straight (ement
:type git
:host github
:repo "alphapapa/ement.el"))
;; :after org-roam ;; or :after org
;; :hook (org-roam . org-roam-ui-mode)
;; :config)
#+end_src
* Buffers and Windows * Buffers and Windows
** COMMENT Workspaces (Persepective ** COMMENT Workspaces (Persepective
#+begin_src emacs-lisp #+begin_src emacs-lisp
@ -2667,7 +2716,6 @@ I prefer text/plain, over everything >:)
(setq persp-keymap-prefix (kbd "SPC <tab>")) (setq persp-keymap-prefix (kbd "SPC <tab>"))
#+end_src #+end_src
* Startpage * Startpage
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package dashboard (use-package dashboard