init.el

;; ;; Package Manager ;; (require 'package) (setq package-archives '(("melpa" . "https://melpa.org/packages/") ("org" . "https://orgmode.org/elpa/") ("elpa" . "https://elpa.gnu.org/packages/"))) (package-initialize) (unless package-archive-contents (package-refresh-contents)) ;; ;; Use Package ;; (unless ( package-installed-p 'use-package) (package-install 'use-package)) (require 'use-package) (setq use-package-always-ensure t) ;; ;; Packages ;; ;; selctrum (use-package selectrum) (selectrum-mode +1) ;; evil (use-package evil) (require 'evil) (evil-mode 1) ;; undo-tree (use-package undo-tree) (require 'undo-tree) ;; buffer names (setq frame-title-format '((:eval (if (buffer-file-name) (abbreviate-file-name (buffer-file-name)) "%b")) (:eval (if (buffer-modified-p) " •")) " - Emacs") ) (defvar ww/original-frame-title-format frame-title-format "The original frame title format") (setq frame-title-format '(:eval (if (eq major-mode 'dired-mode) "dired" ww/original-frame-title-format))) ;; dired (use-package dired-subtree :config (bind-keys :map dired-mode-map ("<right>" ....

4 min · Wyatt Osterling

main.nix

{pkgs, config, ...}: { programs.emacs = { enable = true; extraPackages = epkgs: [ (with epkgs.elpaPackages; [ auctex ] ) ]; }; home.file.emacs = { source = ./init.el; target = "./.config/emacs/init.el"; }; }

1 min · Wyatt Osterling

doom

0 min · Wyatt Osterling