Cleanup
This commit is contained in:
12
README.md
12
README.md
@@ -5,23 +5,15 @@
|
|||||||
+ DE: Gnome
|
+ DE: Gnome
|
||||||
+ Shell: zsh
|
+ Shell: zsh
|
||||||
+ Terminal: alacritty
|
+ Terminal: alacritty
|
||||||
|
+ Theme: Orchis Green + Tela Icons
|
||||||
|
|
||||||
## Programs
|
## Programs
|
||||||
|
|
||||||
+ Editor: emacs
|
+ Editor: emacs
|
||||||
+ Mouse-Settings: piper
|
+ Mouse-Settings: piper
|
||||||
+ Screenshots: flameshot
|
+ Screenshots: flameshot
|
||||||
+ pdf: zathura with mupdf
|
+ pdf: Okular
|
||||||
|
|
||||||
## Other Dependencies
|
## Other Dependencies
|
||||||
+ fzf: fuzzy file finder
|
+ fzf: fuzzy file finder
|
||||||
+ hunspell{-de, en}: spellchecking for emacs
|
+ hunspell{-de, en}: spellchecking for emacs
|
||||||
|
|
||||||
## Fonts
|
|
||||||
| Usage | Font |
|
|
||||||
| -------- | --------------------- |
|
|
||||||
| Terminal | SFMono Nerd Font Mono |
|
|
||||||
| Non-Mono | Product Sans |
|
|
||||||
| JP | Noto Sans CJK JP |
|
|
||||||
| JP | Stick Regular |
|
|
||||||
| Icons | Material Design Icons |
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
colors:
|
colors:
|
||||||
# Default colors
|
# Default colors
|
||||||
primary:
|
primary:
|
||||||
background: '#fafafa'
|
background: '#ffffff'
|
||||||
foreground: '#5c6773'
|
foreground: '#5c6773'
|
||||||
|
|
||||||
# Normal colors
|
# Normal colors
|
||||||
|
|||||||
@@ -1,22 +0,0 @@
|
|||||||
# General
|
|
||||||
set window-title-basename true
|
|
||||||
set statusbar-home-tilde true
|
|
||||||
set selection-clipboard clipboard
|
|
||||||
|
|
||||||
# Layout
|
|
||||||
set statusbar-h-padding 0
|
|
||||||
set statusbar-v-padding 0
|
|
||||||
set show-scrollbars false
|
|
||||||
|
|
||||||
# colors
|
|
||||||
set completion-bg "#fafafa" # bg
|
|
||||||
set completion-fg "#5c6773" # fg
|
|
||||||
|
|
||||||
set inputbar-bg "#fafafa" # bg
|
|
||||||
set inputbar-fg "#5c6773" # fg
|
|
||||||
|
|
||||||
set statusbar-bg "#fafafa" # bg
|
|
||||||
set statusbar-fg "#5c6773" # fg
|
|
||||||
|
|
||||||
set default-bg "#fafafa" # bg
|
|
||||||
set default-fg "#5c6773" # fg
|
|
||||||
@@ -1,6 +1,8 @@
|
|||||||
[user]
|
[user]
|
||||||
name = Marco Thomas
|
name = Marco Thomas
|
||||||
email = mail@marco-thomas.net
|
email = mail@marco-thomas.net
|
||||||
|
[includeIf "gitdir:~/dev/lrz-gitlab/**"]
|
||||||
|
path = "~/dev/lrz-gitlab/.gitconfig"
|
||||||
[alias]
|
[alias]
|
||||||
aa = add .
|
aa = add .
|
||||||
st = status
|
st = status
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ syntax on
|
|||||||
let ayucolor="light"
|
let ayucolor="light"
|
||||||
colorscheme ayu
|
colorscheme ayu
|
||||||
set termguicolors
|
set termguicolors
|
||||||
|
hi Normal guibg=NONE ctermbg=NONE
|
||||||
|
|
||||||
" ============================== General
|
" ============================== General
|
||||||
filetype indent plugin on
|
filetype indent plugin on
|
||||||
|
|||||||
@@ -62,9 +62,9 @@
|
|||||||
tramp-default-method "ssh"
|
tramp-default-method "ssh"
|
||||||
initial-major-mode 'fundamental-mode
|
initial-major-mode 'fundamental-mode
|
||||||
initial-scratch-message nil
|
initial-scratch-message nil
|
||||||
fast-but-imprecise-scrolling t
|
fast-but-imprecise-scrolling t)
|
||||||
split-height-threshold nil
|
; split-height-threshold nil
|
||||||
split-width-threshold 0)
|
; split-width-threshold 0)
|
||||||
|
|
||||||
;; Make ESC quit prompts
|
;; Make ESC quit prompts
|
||||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
||||||
@@ -152,7 +152,7 @@
|
|||||||
|
|
||||||
|
|
||||||
;; Font
|
;; Font
|
||||||
(set-face-attribute 'default nil :font "JuliaMono" :height 100)
|
(set-face-attribute 'default nil :font "JuliaMono" :height 110)
|
||||||
(set-fontset-font t 'unicode "Noto Color Emoji" nil 'prepend)
|
(set-fontset-font t 'unicode "Noto Color Emoji" nil 'prepend)
|
||||||
(set-fontset-font t 'unicode "Noto Sans Mono CJK JP" nil 'append)
|
(set-fontset-font t 'unicode "Noto Sans Mono CJK JP" nil 'append)
|
||||||
|
|
||||||
@@ -197,7 +197,8 @@
|
|||||||
:straight t
|
:straight t
|
||||||
:config
|
:config
|
||||||
(doom-modeline-mode 1)
|
(doom-modeline-mode 1)
|
||||||
(setq doom-modeline-indent-info t))
|
(setq doom-modeline-indent-info t
|
||||||
|
doom-modeline-buffer-file-name-style 'file-name))
|
||||||
|
|
||||||
;; Cool dashboard
|
;; Cool dashboard
|
||||||
(use-package dashboard
|
(use-package dashboard
|
||||||
@@ -228,7 +229,7 @@
|
|||||||
:init
|
:init
|
||||||
(nyan-mode)
|
(nyan-mode)
|
||||||
(nyan-start-animation)
|
(nyan-start-animation)
|
||||||
(nyan-toggle-wavy-trail)
|
;; (nyan-toggle-wavy-trail)
|
||||||
:config
|
:config
|
||||||
(setq nyan-cat-face-number 4))
|
(setq nyan-cat-face-number 4))
|
||||||
|
|
||||||
@@ -364,27 +365,28 @@
|
|||||||
;(push '("#+end_src" . "⇤" ) prettify-symbols-alist)))
|
;(push '("#+end_src" . "⇤" ) prettify-symbols-alist)))
|
||||||
:config
|
:config
|
||||||
(define-key evil-normal-state-map (kbd "TAB") 'org-cycle)
|
(define-key evil-normal-state-map (kbd "TAB") 'org-cycle)
|
||||||
(set-face-attribute 'org-document-title nil :font "Product Sans" :weight 'bold :inherit 'default :height 250)
|
(set-face-attribute 'org-document-title nil :weight 'bold :inherit 'default :height 250)
|
||||||
(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)
|
||||||
org-hidden-keywords '(title) ; hide title
|
org-hidden-keywords '(title) ; hide title
|
||||||
org-startup-with-inline-images t
|
org-startup-with-inline-images t
|
||||||
org-image-actual-width nil ; rescale inline images
|
org-image-actual-width nil ; rescale inline images
|
||||||
org-directory "~/org"
|
org-directory "~/org"
|
||||||
org-agenda-files (quote ("~/org"))
|
org-agenda-files (quote ("~/org"))
|
||||||
org-ellipsis " ⮷"
|
org-ellipsis " ⮷"
|
||||||
org-hide-emphasis-markers t
|
org-hide-emphasis-markers t ; hide bold and underline markers
|
||||||
org-todo-keywords '((sequence "TODO" "PROGRESS" "REVIEW" "|" "DONE"))
|
org-todo-keywords '((sequence "TODO" "PROGRESS" "REVIEW" "|" "DONE"))
|
||||||
org-todo-keyword-faces '(("TODO" . "#cc241d") ("PROGRESS" . "#a6cc70") ("REVIEW" . "#b16286") ("DONE" . "#abb0b6"))
|
org-todo-keyword-faces '(("TODO" . "#cc241d") ("PROGRESS" . "#a6cc70") ("REVIEW" . "#b16286") ("DONE" . "#abb0b6"))
|
||||||
org-edit-src-content-indentation 0
|
org-edit-src-content-indentation 0
|
||||||
|
org-log-done nil ; just mark DONE without a time stamp
|
||||||
|
org-log-repeat nil
|
||||||
|
org-agenda-start-on-weekday nil ; my week starts on a monday
|
||||||
calendar-week-start-day 1
|
calendar-week-start-day 1
|
||||||
org-log-done 'time
|
|
||||||
org-agenda-start-on-weekday nil
|
|
||||||
org-capture-templates
|
org-capture-templates
|
||||||
(quote (("j" "Japanese" entry (file "~/org/japanese.org") "* TODO %?\n" :empty-lines-before 1)
|
(quote (("j" "Japanese" entry (file "~/org/japanese.org") "* TODO %?\n" :empty-lines-before 1)
|
||||||
("w" "Work" entry (file "~/org/work.org") "* TODO %?\n" :empty-lines-before 1)
|
("w" "Work" entry (file "~/org/work.org") "* TODO %?\n" :empty-lines-before 1)
|
||||||
("u" "University" entry (file "~/org/uni.org") "* TODO %?\n" :empty-lines-before 1)
|
("u" "University" entry (file "~/org/uni.org") "* TODO %?\n" :empty-lines-before 1)
|
||||||
("p" "Personal" entry (file "~/org/personal.org") "* TODO %?\n" :empty-lines-before 1)))
|
("p" "Personal" entry (file "~/org/personal.org") "* TODO %?\n" :empty-lines-before 1)))
|
||||||
org-latex-listings 'minted
|
org-latex-listings 'minted ; export with code highlighting
|
||||||
org-latex-packages-alist '(("" "minted"))
|
org-latex-packages-alist '(("" "minted"))
|
||||||
org-latex-pdf-process
|
org-latex-pdf-process
|
||||||
'("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f"
|
'("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f"
|
||||||
@@ -394,7 +396,8 @@
|
|||||||
(shell . t)
|
(shell . t)
|
||||||
(haskell . t)
|
(haskell . t)
|
||||||
(C . t)
|
(C . t)
|
||||||
(dot . t))))
|
(dot . t)
|
||||||
|
(R . t))))
|
||||||
|
|
||||||
;; I dont want \alert to be my bold text in TeX
|
;; I dont want \alert to be my bold text in TeX
|
||||||
(defun mth/beamer-bold (contents backend info)
|
(defun mth/beamer-bold (contents backend info)
|
||||||
@@ -410,7 +413,6 @@
|
|||||||
(setq org-latex-inputenc-alist '(("utf8" . "utf8x"))
|
(setq org-latex-inputenc-alist '(("utf8" . "utf8x"))
|
||||||
org-latex-default-packages-alist (cons '("mathletters" "ucs" nil) org-latex-default-packages-alist)))
|
org-latex-default-packages-alist (cons '("mathletters" "ucs" nil) org-latex-default-packages-alist)))
|
||||||
|
|
||||||
|
|
||||||
;; Fancy bullets for org
|
;; Fancy bullets for org
|
||||||
(use-package org-superstar
|
(use-package org-superstar
|
||||||
:straight t
|
:straight t
|
||||||
@@ -421,16 +423,7 @@
|
|||||||
;; uncomment if slowdown happens
|
;; uncomment if slowdown happens
|
||||||
;;(setq inhibit-compacting-font-caches t)
|
;;(setq inhibit-compacting-font-caches t)
|
||||||
;; base config, as i wont use level 8
|
;; base config, as i wont use level 8
|
||||||
(set-face-attribute 'org-level-8 nil :font "Product Sans" :weight 'bold :inherit 'default)
|
)
|
||||||
;; make first 3 bigger
|
|
||||||
(set-face-attribute 'org-level-3 nil :inherit 'org-level-8 :height 1.1)
|
|
||||||
(set-face-attribute 'org-level-2 nil :inherit 'org-level-8 :height 1.15)
|
|
||||||
(set-face-attribute 'org-level-1 nil :inherit 'org-level-8 :height 1.2)
|
|
||||||
;; Low levels are unimportant => no scaling
|
|
||||||
(set-face-attribute 'org-level-7 nil :inherit 'org-level-8)
|
|
||||||
(set-face-attribute 'org-level-6 nil :inherit 'org-level-8)
|
|
||||||
(set-face-attribute 'org-level-5 nil :inherit 'org-level-8)
|
|
||||||
(set-face-attribute 'org-level-4 nil :inherit 'org-level-8))
|
|
||||||
|
|
||||||
;; Auto latex rendering in org-mode
|
;; Auto latex rendering in org-mode
|
||||||
(use-package org-fragtog
|
(use-package org-fragtog
|
||||||
@@ -455,7 +448,6 @@
|
|||||||
:straight t)
|
:straight t)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
;;;
|
;;;
|
||||||
;;; PROGRAMMING
|
;;; PROGRAMMING
|
||||||
;;;
|
;;;
|
||||||
@@ -485,7 +477,7 @@
|
|||||||
:config
|
:config
|
||||||
(setq treemacs-follow-after-init t
|
(setq treemacs-follow-after-init t
|
||||||
treemacs-persist-file (expand-file-name ".cache/treemacs-persist" user-emacs-directory)
|
treemacs-persist-file (expand-file-name ".cache/treemacs-persist" user-emacs-directory)
|
||||||
treemacs-width 40
|
treemacs-width 50
|
||||||
treemacs-project-follow-cleanup t
|
treemacs-project-follow-cleanup t
|
||||||
treemacs-tag-follow-cleanup t
|
treemacs-tag-follow-cleanup t
|
||||||
treemacs-expand-after-init nil
|
treemacs-expand-after-init nil
|
||||||
@@ -506,7 +498,7 @@
|
|||||||
treemacs-directory-collapsed-face
|
treemacs-directory-collapsed-face
|
||||||
treemacs-file-face
|
treemacs-file-face
|
||||||
treemacs-tags-face))
|
treemacs-tags-face))
|
||||||
(set-face-attribute face nil :family "Product Sans" :height 100))
|
(set-face-attribute face nil :family "JuliaMono" :height 110))
|
||||||
:bind
|
:bind
|
||||||
(:map global-map
|
(:map global-map
|
||||||
("C-x t t" . treemacs)))
|
("C-x t t" . treemacs)))
|
||||||
@@ -576,6 +568,7 @@
|
|||||||
(LaTeX-mode . company-mode)
|
(LaTeX-mode . company-mode)
|
||||||
(org-mode . company-mode)
|
(org-mode . company-mode)
|
||||||
:custom
|
:custom
|
||||||
|
|
||||||
(company-minimum-prefix-length 3)
|
(company-minimum-prefix-length 3)
|
||||||
(company-idle-delay 0.5)
|
(company-idle-delay 0.5)
|
||||||
:bind (:map company-active-map
|
:bind (:map company-active-map
|
||||||
@@ -699,11 +692,13 @@
|
|||||||
("\\times" ?×) ("\\x" ?×)
|
("\\times" ?×) ("\\x" ?×)
|
||||||
|
|
||||||
; Number stuff
|
; Number stuff
|
||||||
("\\div" ?∣) ("\\infty" ?∞) ("\\sqrt" ?√) ("\\Im" ?ℑ) ("\\Re" ?ℜ)
|
("\\mid" ?∣) ("\\infty" ?∞) ("\\sqrt" ?√) ("\\Im" ?ℑ) ("\\Re" ?ℜ)
|
||||||
|
|
||||||
; Logic
|
; Logic
|
||||||
("\\/" ?∨) ("\\and" ?∧) ("/\\" ?∧) ("\\or" ?∨) ("~" ?¬) ("\neg" ?¬)
|
("\\/" ?∨) ("\\and" ?∧) ("/\\" ?∧) ("\\or" ?∨) ("~" ?¬) ("\neg" ?¬)
|
||||||
("|-" ?⊢) ("|-n" ?⊬) ("\\bot" ?⊥) ("\\top" ?⊤) ("\\r" ?→) ("\\lr" ?↔)
|
("|-" ?⊢) ("|-n" ?⊬) ("\\bot" ?⊥) ("\\top" ?⊤)
|
||||||
|
("\\r" ?→) ("\\lr" ?↔)
|
||||||
|
("\\R" ?⇒) ("\\Lr" ?⇔)
|
||||||
("\\qed" ?∎)
|
("\\qed" ?∎)
|
||||||
|
|
||||||
; Predicate logic
|
; Predicate logic
|
||||||
@@ -725,11 +720,11 @@
|
|||||||
("\\Ga" ?α) ("\\GA" ?Α) ("\\a" ?α)
|
("\\Ga" ?α) ("\\GA" ?Α) ("\\a" ?α)
|
||||||
("\\Gb" ?β) ("\\GB" ?Β) ("\\b" ?β)
|
("\\Gb" ?β) ("\\GB" ?Β) ("\\b" ?β)
|
||||||
("\\Gg" ?γ) ("\\GG" ?Γ) ("\\g" ?γ) ("\\Gamma" ?Γ)
|
("\\Gg" ?γ) ("\\GG" ?Γ) ("\\g" ?γ) ("\\Gamma" ?Γ)
|
||||||
("\\Gd" ?δ) ("\\GD" ?Δ) ("\\del" ?δ) ("\\Del" ?Δ)
|
("\\Gd" ?δ) ("\\GD" ?Δ) ("\\delta" ?δ) ("\\Delta" ?Δ)
|
||||||
("\\Ge" ?ε) ("\\GE" ?Ε) ("\\eps" ?ε)
|
("\\Ge" ?ε) ("\\GE" ?Ε) ("\\epsilon" ?ε)
|
||||||
("\\Gz" ?ζ) ("\\GZ" ?Ζ)
|
("\\Gz" ?ζ) ("\\GZ" ?Ζ)
|
||||||
("\\Gh" ?η) ("\\Gh" ?Η) ("\\mu" ?μ)
|
("\\Gh" ?η) ("\\Gh" ?Η) ("\\mu" ?μ)
|
||||||
("\\Gth" ?θ) ("\\GTH" ?Θ) ("\\the" ?θ) ("\\The" ?Θ)
|
("\\Gth" ?θ) ("\\GTH" ?Θ) ("\\theta" ?θ) ("\\Theta" ?Θ)
|
||||||
("\\Gi" ?ι) ("\\GI" ?Ι) ("\\iota" ?ι)
|
("\\Gi" ?ι) ("\\GI" ?Ι) ("\\iota" ?ι)
|
||||||
("\\Gk" ?κ) ("\\GK" ?Κ)
|
("\\Gk" ?κ) ("\\GK" ?Κ)
|
||||||
("\\Gl" ?λ) ("\\GL" ?Λ) ("\\lam" ?λ)
|
("\\Gl" ?λ) ("\\GL" ?Λ) ("\\lam" ?λ)
|
||||||
|
|||||||
Binary file not shown.
@@ -19,10 +19,13 @@
|
|||||||
|
|
||||||
#+LATEX_HEADER: \theoremstyle{definition}
|
#+LATEX_HEADER: \theoremstyle{definition}
|
||||||
#+LATEX_HEADER: \newtheorem{definition}{Definition}[section]
|
#+LATEX_HEADER: \newtheorem{definition}{Definition}[section]
|
||||||
|
|
||||||
#+LATEX_HEADER: \newtheorem{theorem}{Satz}[section]
|
#+LATEX_HEADER: \newtheorem{theorem}{Satz}[section]
|
||||||
|
|
||||||
#+LATEX_HEADER: \theoremstyle{algo}
|
#+LATEX_HEADER: \theoremstyle{definition}
|
||||||
#+LATEX_HEADER: \newtheorem{algo}{Algorithmus}[section]
|
#+LATEX_HEADER: \newtheorem{algo}{Algorithmus}[section]
|
||||||
|
|
||||||
|
#+LATEX_HEADER: \theoremstyle{definition}
|
||||||
#+LATEX_HEADER: \newtheorem*{remark}{Bemerkung}
|
#+LATEX_HEADER: \newtheorem*{remark}{Bemerkung}
|
||||||
|
|
||||||
#+LATEX_HEADER: \date{\today}
|
#+LATEX_HEADER: \date{\today}
|
||||||
|
|||||||
Reference in New Issue
Block a user