;; -*- lexical-binding: t; -*- (require 'package) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t) (package-initialize) (use-package emacs :ensure t :init (set-frame-font (pcase system-type ('gnu/linux "APL387 Unicode 14") ('darwin "APL387 Unicode 18")) nil t) (when (eq system-type 'darwin) (setq mac-right-option-modifier 'none)) (setq inhibit-splash-screen t) (menu-bar-mode -1) (tool-bar-mode -1) (scroll-bar-mode -1) (setq initial-buffer-choice "~/org-files/startup.org")) (use-package ef-themes :ensure t :config (modus-themes-load-theme 'ef-maris-light)) (use-package ghostel :ensure t) (use-package magit :ensure t) (use-package mediawiki :ensure t :init (setq mediawiki-site-default "dyalog") :config (add-to-list 'mediawiki-site-alist '("dyalog" "https://wiki.bramley.dyalog.com" "peterm" nil "" :description "Dyalog internal wiki" :first-page "Main Page"))) (use-package auth-source :ensure t :init (setq auth-sources '("~/.authinfo.gpg"))) (use-package project :ensure t :init (setq project-mode-line t)) (use-package org :ensure t :bind (("C-c l" . org-store-link) ("C-c a" . org-agenda) ("C-c c" . org-capture) )) (use-package org-roam :ensure t :init (setq org-roam-directory (file-truename "~/org-files/roam")) (org-roam-db-autosync-mode) ) (use-package org-roam-ui :ensure t ) (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(package-selected-packages '(ef-themes ghostel magit mediawiki org-roam org-roam-ui))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. )