summaryrefslogtreecommitdiff
path: root/.config/emacs/init.el
blob: c02b643555843f3351fecc2763fffda0541b081d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
(setq user-emacs-directory "~/.config/emacs/")

(require 'package)
(require 'use-package)
(require 'xdvi-search)

(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
(package-initialize)
(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.
 '(asm-comment-char 59)
 '(auth-source-save-behavior nil)
 '(auth-sources '(default "~/.authinfo.gpg" "~/.netrc"))
 '(custom-enabled-themes '(catppuccin))
 '(custom-safe-themes
   '("ef2b2346702e5cbfd7eeaa699ba58528477fe48af333e6ffdafb864a2f30a505" "0d2882cc7dbb37de573f14fdf53472bcfb4ec76e3d2f20c9a93a7b2fe1677bf5" "96871555d64815a906796e1e594a91245c2327c2bf57ec87ddf9c1668ef6069c" default))
 '(mediawiki-site-alist
   '(("Wikipedia" "https://en.wikipedia.org/w/" "Maddy from Celeste" "" nil "Main Page")))
 '(package-selected-packages
   '(use-package elfeed-org elfeed mediawiki auctex eimp eglot ada-mode wisi portage-navi rust-mode csv-mode haskell-mode catppuccin-theme)))

(load-theme 'catppuccin t)
(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.
 '(default ((t (:family "Inconsolata" :foundry "PfEd" :slant normal :weight normal :height 113 :width normal)))))

(add-to-list 'load-path "/usr/share/emacs/site-lisp/tex-utils")

;; GUI nuisances
(menu-bar-mode -1)
(tab-bar-mode -1)
(tool-bar-mode -1)

;; elfeed
(require 'elfeed-org)
(elfeed-org)
(setq rmh-elfeed-org-files (list "~/rss/feeds.org"))
(setq elfeed-db-directory "~/rss/elfeed")