mirror of https://github.com/Flinner/dots.git
feat: a lot of changes :<
This commit is contained in:
parent
67c9159938
commit
b04f3513ae
|
@ -906,46 +906,49 @@ Modes To Start
|
||||||
#+end_src
|
#+end_src
|
||||||
use-package
|
use-package
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package org
|
(use-package org
|
||||||
:defer t
|
:defer t
|
||||||
:hook (org-mode . my/org-mode/org-mode-setup)
|
:hook (org-mode . my/org-mode/org-mode-setup)
|
||||||
(org-mode . my/org-mode/load-prettify-symbols); symbols
|
(org-mode . my/org-mode/load-prettify-symbols); symbols
|
||||||
(org-mode . auto-fill-mode)
|
(org-mode . auto-fill-mode)
|
||||||
:config
|
:config
|
||||||
(require 'org-tempo)
|
(require 'org-tempo)
|
||||||
(require 'org-habit)
|
(require 'org-habit)
|
||||||
(setq geiser-default-implementation 'guile)
|
(add-to-list 'org-file-apps '("\\.xlsx\\'" . default))
|
||||||
(setq org-ellipsis " ⤵")
|
(setq geiser-default-implementation 'guile)
|
||||||
(setq org-agenda-start-with-log-mode t)
|
(setq org-ellipsis " ⤵")
|
||||||
(setq org-highlight-latex-and-related '(latex))
|
(setq org-agenda-start-with-log-mode t)
|
||||||
(setq org-log-done 'time)
|
(setq org-highlight-latex-and-related '(latex))
|
||||||
(setq org-log-into-drawer t)
|
(setq org-log-done 'time)
|
||||||
(dolist (face '((org-document-title . 2.0)
|
(setq org-log-into-drawer t)
|
||||||
(org-level-1 . 1.2)
|
(dolist (face '((org-document-title . 2.0)
|
||||||
(org-level-2 . 1.1)
|
(org-level-1 . 1.2)
|
||||||
(org-level-3 . 1.05)
|
(org-level-2 . 1.1)
|
||||||
(org-level-4 . 1.0)
|
(org-level-3 . 1.05)
|
||||||
(org-level-5 . 1.1)
|
(org-level-4 . 1.0)
|
||||||
(org-level-6 . 1.1)
|
(org-level-5 . 1.1)
|
||||||
(org-level-7 . 1.1)
|
(org-level-6 . 1.1)
|
||||||
(org-level-8 . 1.1)))
|
(org-level-7 . 1.1)
|
||||||
;; (set-face-attribute (car face) nil :font my/ui/varfont :weight 'regular :height (cdr face)))
|
(org-level-8 . 1.1)))
|
||||||
(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)))
|
||||||
;)
|
(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
|
||||||
(set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch)
|
(set-face-attribute 'org-block nil :foreground nil :inherit 'fixed-pitch)
|
||||||
(set-face-attribute 'org-code nil :inherit '(shadow fixed-pitch))
|
(set-face-attribute 'org-code nil :inherit '(shadow fixed-pitch))
|
||||||
(set-face-attribute 'org-table nil :inherit '(shadow fixed-pitch))
|
(set-face-attribute 'org-table nil :inherit '(shadow fixed-pitch))
|
||||||
(set-face-attribute 'org-verbatim nil :inherit '(shadow fixed-pitch))
|
(set-face-attribute 'org-verbatim nil :inherit '(shadow fixed-pitch))
|
||||||
(set-face-attribute 'org-special-keyword nil :inherit '(font-lock-comment-face fixed-pitch))
|
(set-face-attribute 'org-special-keyword nil :inherit '(font-lock-comment-face fixed-pitch))
|
||||||
(set-face-attribute 'org-meta-line nil :inherit '(font-lock-comment-face fixed-pitch))
|
(set-face-attribute 'org-meta-line nil :inherit '(font-lock-comment-face fixed-pitch))
|
||||||
(set-face-attribute 'org-todo nil :background "#444527" )
|
(set-face-attribute 'org-todo nil :background "#444527" )
|
||||||
(set-face-attribute 'org-done nil :strike-through t)
|
(set-face-attribute 'org-done nil :strike-through t)
|
||||||
(set-face-attribute 'org-headline-done nil :strike-through t)
|
(set-face-attribute 'org-headline-done nil :strike-through t)
|
||||||
(set-face-attribute 'org-checkbox nil :inherit 'fixed-pitch))
|
(set-face-attribute 'org-checkbox nil :inherit 'fixed-pitch))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
Capture Templates
|
Capture Templates
|
||||||
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue