2023-02-06 16:26:37 +01:00
|
|
|
(use-package doom-themes
|
|
|
|
:init (setq doom-themes-enable-bold t ; if nil, bold is universally disabled
|
|
|
|
doom-themes-enable-italic t) ; if nil, italics is universally disabled
|
|
|
|
(load-theme 'doom-one t))
|
|
|
|
|
2020-07-26 14:36:43 +02:00
|
|
|
;; OS SETTINGS
|
|
|
|
(when (eq system-type 'gnu/linux)
|
2020-11-25 21:26:37 +01:00
|
|
|
(setq custom-file "~/.emacs.d/bundle/custom_gnu.el"
|
2022-11-12 18:23:08 +01:00
|
|
|
browse-url-secondary-browser-function 'browse-url-firefox
|
2022-12-12 17:27:46 +01:00
|
|
|
ispell-dictionary "german,english"
|
2022-11-12 17:56:15 +01:00
|
|
|
ispell-program-name "hunspell")
|
2022-12-12 17:27:46 +01:00
|
|
|
;; (setq ispell-hunspell-dict-paths-alist
|
|
|
|
;; '(("de_DE_frami" "~/Library/Spelling/de_DE_frami.aff")
|
|
|
|
;; ("en_US" "/usr/share/hunspell/en_US.aff")))
|
2022-12-11 13:38:31 +01:00
|
|
|
(setq ispell-local-dictionary-alist
|
|
|
|
'(("german" "[[:alpha:]]" "[^[:alpha:]]" "[']" t ("-d" "de_DE_frami,de_AT_frami,de_CH_frami") nil utf-8)
|
2022-12-12 17:27:46 +01:00
|
|
|
("english" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-d" "en_US") nil utf-8)
|
|
|
|
("german,english" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-d" "de_DE_frami,en_US") nil utf-8))
|
2022-12-11 13:38:31 +01:00
|
|
|
ispell-hunspell-dictionary-alist ispell-local-dictionary-alist))
|
2020-07-26 14:36:43 +02:00
|
|
|
|
|
|
|
(when (eq system-type 'windows-nt)
|
2022-04-12 14:39:25 +02:00
|
|
|
;; (add-to-list 'exec-path "C:/msys64/mingw64/bin")
|
|
|
|
;; (add-to-list 'exec-path "C:/msys64/usr/bin")
|
2022-04-26 09:17:41 +02:00
|
|
|
;; (setenv "PATH" (concat "C:\\msys64\\mingw64\\bin;" (getenv "PATH")))
|
2022-11-12 17:35:59 +01:00
|
|
|
;; (when (directory-name-p "c:/msys64/")
|
|
|
|
;; (setq ispell-program-name "c:/msys64/mingw64/bin/hunspell.exe"
|
|
|
|
;; mpv-executable "c:/msys64/mingw64/bin/mpv.exe"))
|
2022-04-26 09:17:41 +02:00
|
|
|
|
2022-08-12 12:59:23 +02:00
|
|
|
(setq custom-file "~/.emacs.d/bundle/custom_win32.el"
|
2022-11-12 18:23:08 +01:00
|
|
|
org-babel-python-command "python"
|
|
|
|
ispell-program-name "c:/msys64/mingw64/bin/hunspell.exe"
|
2022-12-12 12:12:58 +01:00
|
|
|
ispell-dictionary "german,english"
|
2022-11-12 18:23:08 +01:00
|
|
|
ispell-local-dictionary-alist
|
2022-11-13 10:12:40 +01:00
|
|
|
;; Copy de_DE_frami* files from ~/.emacs.d/dicts/ to c:/msys64/mingw64/share/dict/ooo/
|
2022-11-12 18:23:08 +01:00
|
|
|
'(("german" "[[:alpha:]]" "[^[:alpha:]]" "[']" t ("-d" "de_DE_frami") nil utf-8)
|
2022-12-12 12:12:58 +01:00
|
|
|
("english" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-d" "en_US") nil utf-8)
|
|
|
|
("german,english" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-d" "de_DE_frami,en_US") nil utf-8))
|
2022-11-12 18:23:08 +01:00
|
|
|
ispell-hunspell-dictionary-alist ispell-local-dictionary-alist)
|
2022-11-12 17:58:56 +01:00
|
|
|
|
2023-02-06 16:27:01 +01:00
|
|
|
;; (defun powershell (&optional buffer)
|
|
|
|
;; "Launches a powershell in buffer *powershell* and switches to it."
|
|
|
|
;; (interactive)
|
|
|
|
;; (let ((buffer (or buffer "*powershell*"))
|
|
|
|
;; (powershell-prog "C:\\Program Files\\PowerShell\\7\\pwsh.exe"))
|
|
|
|
;; (make-comint-in-buffer "shell" "*powershell*" powershell-prog)
|
|
|
|
;; (switch-to-buffer buffer)))
|
2020-11-21 09:26:01 +01:00
|
|
|
|
2021-05-04 22:26:55 +02:00
|
|
|
(when (string= (system-name) "EVG02667NB")
|
|
|
|
(cd "d:/opt")
|
2023-01-12 12:26:51 +01:00
|
|
|
(setq custom-file "~/.emacs.d/bundle/custom_win32_EVG02667NB.el")))
|
2020-07-26 14:36:43 +02:00
|
|
|
|
|
|
|
;; CUSTOM_FILE
|
|
|
|
(load custom-file :noerror)
|