Merge branch 'main' of https://gitlab.com/marcuskammer/emacs.d into main
This commit is contained in:
commit
656121ef9d
4 changed files with 42 additions and 20 deletions
|
@ -2,6 +2,7 @@
|
||||||
(when (eq system-type 'gnu/linux)
|
(when (eq system-type 'gnu/linux)
|
||||||
(setq custom-file "~/.emacs.d/bundle/custom_gnu.el"))
|
(setq custom-file "~/.emacs.d/bundle/custom_gnu.el"))
|
||||||
|
|
||||||
|
|
||||||
(when (eq system-type 'windows-nt)
|
(when (eq system-type 'windows-nt)
|
||||||
(setq custom-file "~/.emacs.d/bundle/custom_win32.el")
|
(setq custom-file "~/.emacs.d/bundle/custom_win32.el")
|
||||||
(add-to-list 'load-path (expand-file-name "~/AppData/Roaming/__secrets"))
|
(add-to-list 'load-path (expand-file-name "~/AppData/Roaming/__secrets"))
|
||||||
|
@ -10,11 +11,15 @@
|
||||||
sbcl-core (expand-file-name "C:\\Program Files\\Steel Bank Common Lisp\\2.0.0\\sbcl.core")
|
sbcl-core (expand-file-name "C:\\Program Files\\Steel Bank Common Lisp\\2.0.0\\sbcl.core")
|
||||||
inferior-lisp-program "sbcl"
|
inferior-lisp-program "sbcl"
|
||||||
slime-lisp-implementations `((sbcl (,sbcl-exe "--core" ,sbcl-core))))
|
slime-lisp-implementations `((sbcl (,sbcl-exe "--core" ,sbcl-core))))
|
||||||
(setq plantuml-jar-path "c:/Users/Marcus.Kammer/AppData/Local/Programs/plantuml/plantuml.jar")
|
|
||||||
(setq plantuml-default-exec-mode 'jar)
|
|
||||||
(when (string= (system-name) "EVG02667NB")
|
(when (string= (system-name) "EVG02667NB")
|
||||||
(add-to-list 'Info-default-directory-list "~/Info")
|
(add-to-list 'Info-default-directory-list "~/Info")
|
||||||
(setq custom-file "~/.emacs.d/bundle/custom_win32_EVG02667NB.el"))
|
(setq custom-file "~/.emacs.d/bundle/custom_win32_EVG02667NB.el")
|
||||||
|
(setq plantuml-jar-path "c:/Users/Marcus.Kammer/AppData/Local/Programs/plantuml/plantuml.jar")
|
||||||
|
(setq plantuml-default-exec-mode 'jar))
|
||||||
|
|
||||||
|
|
||||||
(when (string= (system-name) "XPS-8930")))
|
(when (string= (system-name) "XPS-8930")))
|
||||||
|
|
||||||
;; CUSTOM_FILE
|
;; CUSTOM_FILE
|
||||||
|
|
|
@ -14,13 +14,16 @@
|
||||||
(blink-cursor-mode -1)
|
(blink-cursor-mode -1)
|
||||||
|
|
||||||
;; Customization for locale, environment and computer
|
;; Customization for locale, environment and computer
|
||||||
(setq-default european-calendar-style 't)
|
(setq-default european-calendar-style t)
|
||||||
(setq-default calendar-christian-all-holidays-flag t)
|
(setq-default calendar-christian-all-holidays-flag t)
|
||||||
(setq-default calendar-date-style (quote iso))
|
(setq-default calendar-date-style (quote iso))
|
||||||
(setq-default calendar-view-diary-initially-flag t)
|
(setq-default calendar-view-diary-initially-flag t)
|
||||||
(setq-default calendar-week-start-day 1)
|
(setq-default calendar-week-start-day 1)
|
||||||
(setq-default ispell-program-name "aspell")
|
(setq-default ispell-program-name "aspell")
|
||||||
(setq-default grep-command "grep -i -nH -e ")
|
(setq-default grep-command "grep -i -nH -e ")
|
||||||
|
(when (eq system-type 'gnu/linux)
|
||||||
|
(setq-default shell-file-name "/bin/bash")
|
||||||
|
(setq-default tex-shell-file-name "/bin/bash"))
|
||||||
|
|
||||||
;; Files and sessions
|
;; Files and sessions
|
||||||
(setq-default auto-save-timeout 60)
|
(setq-default auto-save-timeout 60)
|
||||||
|
@ -34,16 +37,25 @@
|
||||||
(setq tab-width 4)
|
(setq tab-width 4)
|
||||||
(setq sentence-end-double-space nil)
|
(setq sentence-end-double-space nil)
|
||||||
(setq next-line-add-newlines t)
|
(setq next-line-add-newlines t)
|
||||||
(setq require-final-newline 't)
|
(setq require-final-newline t)
|
||||||
|
|
||||||
;; Miscellaneous
|
;; Miscellaneous
|
||||||
(require 'cl)
|
(require 'cl-lib)
|
||||||
|
(setq default-major-mode 'text-mode)
|
||||||
(setq-default inhibit-startup-buffer-menu t
|
(setq-default inhibit-startup-buffer-menu t
|
||||||
inhibit-startup-screen t)
|
inhibit-startup-screen t)
|
||||||
(put 'narrow-to-region 'disabled nil)
|
|
||||||
(put 'narrow-to-page 'disabled nil)
|
|
||||||
(setq default-major-mode 'text-mode)
|
|
||||||
(add-hook 'text-mode-hook 'turn-on-auto-fill)
|
|
||||||
(defalias 'yes-or-no-p 'y-or-n-p)
|
|
||||||
(setq-default shr-cookie-policy nil)
|
(setq-default shr-cookie-policy nil)
|
||||||
(setq-default tramp-default-method "ssh")
|
(setq-default tramp-default-method "ssh")
|
||||||
|
(put 'narrow-to-region 'disabled nil)
|
||||||
|
(put 'narrow-to-page 'disabled nil)
|
||||||
|
(add-hook 'text-mode-hook 'turn-on-auto-fill)
|
||||||
|
(defalias 'yes-or-no-p 'y-or-n-p)
|
||||||
|
|
||||||
|
;; Windows, Frames
|
||||||
|
(setq default-frame-alist
|
||||||
|
'((font . "Fira Code-11")
|
||||||
|
(alpha . 100)
|
||||||
|
(undecorated . t)
|
||||||
|
(width . 85)
|
||||||
|
(height . 70)
|
||||||
|
(fullscreen . fullscreen)))
|
||||||
|
|
|
@ -29,3 +29,13 @@
|
||||||
(while (< count (1- count-windows))
|
(while (< count (1- count-windows))
|
||||||
(split-window-below (- 0 height))
|
(split-window-below (- 0 height))
|
||||||
(setq count (1+ count)))))
|
(setq count (1+ count)))))
|
||||||
|
|
||||||
|
(require 'ox-latex)
|
||||||
|
(add-to-list 'org-latex-classes
|
||||||
|
'("koma-article"
|
||||||
|
"\\documentclass{scrartcl}"
|
||||||
|
("\\section{%s}" . "\\section*{%s}")
|
||||||
|
("\\subsection{%s}" . "\\subsection*{%s}")
|
||||||
|
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
|
||||||
|
("\\paragraph{%s}" . "\\paragraph*{%s}")
|
||||||
|
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
|
||||||
|
|
|
@ -21,13 +21,6 @@
|
||||||
'(custom-enabled-themes '(nord))
|
'(custom-enabled-themes '(nord))
|
||||||
'(custom-safe-themes
|
'(custom-safe-themes
|
||||||
'("37768a79b479684b0756dec7c0fc7652082910c37d8863c35b702db3f16000f8" "06bf0822aa77ea498bbd6038b59ad96fca43b272b49b18ab024218881ba134d1" "6e933f1668e124ec17fc7b6547f65ba760e06efb568a6c8091c600c67827e592" "7f6d4aebcc44c264a64e714c3d9d1e903284305fd7e319e7cb73345a9994f5ef" default))
|
'("37768a79b479684b0756dec7c0fc7652082910c37d8863c35b702db3f16000f8" "06bf0822aa77ea498bbd6038b59ad96fca43b272b49b18ab024218881ba134d1" "6e933f1668e124ec17fc7b6547f65ba760e06efb568a6c8091c600c67827e592" "7f6d4aebcc44c264a64e714c3d9d1e903284305fd7e319e7cb73345a9994f5ef" default))
|
||||||
'(default-frame-alist
|
|
||||||
'((font . "Fira Code-11")
|
|
||||||
(alpha . 100)
|
|
||||||
(undecorated . t)
|
|
||||||
(width . 85)
|
|
||||||
(height . 70)
|
|
||||||
(fullscreen . fullscreen)))
|
|
||||||
'(delete-selection-mode nil)
|
'(delete-selection-mode nil)
|
||||||
'(diary-file "~/Documents/diary/diary")
|
'(diary-file "~/Documents/diary/diary")
|
||||||
'(elpy-modules
|
'(elpy-modules
|
||||||
|
@ -60,8 +53,10 @@
|
||||||
'(org-plantuml-jar-path "~/.local/bin/plantuml.jar")
|
'(org-plantuml-jar-path "~/.local/bin/plantuml.jar")
|
||||||
'(package-enable-at-startup t)
|
'(package-enable-at-startup t)
|
||||||
'(package-selected-packages
|
'(package-selected-packages
|
||||||
'(request all-the-icons-ibuffer all-the-icons-ivy-rich all-the-icons-ivy-rich-mode all-the-icons-ibuffer-mode ox-reveal csv-mode gnuplot eglot projectile elpy color-theme-sanityinc-tomorrow nov markdown-mode markdown-preview-mode olivetti web-mode js2-mode slime flymake-racket racket-mode yaml-mode lua-mode nordless-theme use-package colorless-themes nord-theme toc-org ace-window htmlize ivy magit))
|
'(forge request all-the-icons-ibuffer all-the-icons-ivy-rich all-the-icons-ivy-rich-mode all-the-icons-ibuffer-mode ox-reveal csv-mode gnuplot eglot projectile elpy color-theme-sanityinc-tomorrow nov markdown-mode markdown-preview-mode olivetti web-mode js2-mode slime flymake-racket racket-mode yaml-mode lua-mode nordless-theme use-package colorless-themes nord-theme toc-org ace-window htmlize ivy magit))
|
||||||
'(python-shell-interpreter "python3"))
|
'(projectile-completion-system 'ivy)
|
||||||
|
'(python-shell-interpreter "python3")
|
||||||
|
'(scroll-bar-mode nil))
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
|
Loading…
Add table
Reference in a new issue