general updates
This commit is contained in:
parent
d3da4b91c3
commit
a262d02814
4
init.el
4
init.el
|
@ -1,5 +1,9 @@
|
||||||
;; -*- lexical-binding: t -*-
|
;; -*- lexical-binding: t -*-
|
||||||
|
|
||||||
|
;; Supress native-comp warnings
|
||||||
|
(when (featurep 'native-compile)
|
||||||
|
(setq native-comp-async-report-warnings-errors nil))
|
||||||
|
|
||||||
;; Load essentials.
|
;; Load essentials.
|
||||||
(load "~/.emacs.d/essential.el")
|
(load "~/.emacs.d/essential.el")
|
||||||
|
|
||||||
|
|
63
packages.el
63
packages.el
|
@ -78,6 +78,25 @@
|
||||||
:config
|
:config
|
||||||
(setq-default lua-indent-level 4))
|
(setq-default lua-indent-level 4))
|
||||||
|
|
||||||
|
(use-package eglot
|
||||||
|
:ensure t)
|
||||||
|
|
||||||
|
(use-package ada-mode
|
||||||
|
:ensure t
|
||||||
|
:config
|
||||||
|
(setq-default ada-diagnostics-backend 'eglot)
|
||||||
|
|
||||||
|
(setq-default ada-face-backend 'eglot)
|
||||||
|
|
||||||
|
(setq-default ada-indent-backend 'eglot)
|
||||||
|
|
||||||
|
(setq-default ada-statement-backend 'eglot)
|
||||||
|
|
||||||
|
(setq-default ada-xref-backend 'eglot))
|
||||||
|
|
||||||
|
(use-package rust-mode
|
||||||
|
:ensure t)
|
||||||
|
|
||||||
;; Amazing s-expression editing mode.
|
;; Amazing s-expression editing mode.
|
||||||
;; (use-package lispy
|
;; (use-package lispy
|
||||||
;; :ensure t
|
;; :ensure t
|
||||||
|
@ -154,10 +173,10 @@
|
||||||
|
|
||||||
;; Instead of opening windows inside of Emacs, create new frames. This is great
|
;; Instead of opening windows inside of Emacs, create new frames. This is great
|
||||||
;; for tiling window managers.
|
;; for tiling window managers.
|
||||||
;; (use-package frames-only-mode
|
(use-package frames-only-mode
|
||||||
;; :ensure t
|
:ensure t
|
||||||
;; :config
|
:config
|
||||||
;; (frames-only-mode))
|
(frames-only-mode))
|
||||||
|
|
||||||
;; Mode for browsing gemini/gopher sites.
|
;; Mode for browsing gemini/gopher sites.
|
||||||
(use-package elpher
|
(use-package elpher
|
||||||
|
@ -175,9 +194,14 @@
|
||||||
(use-package org
|
(use-package org
|
||||||
:ensure t
|
:ensure t
|
||||||
:bind
|
:bind
|
||||||
|
("C-c o a" . org-agenda)
|
||||||
("C-c o c" . org-capture)
|
("C-c o c" . org-capture)
|
||||||
:config
|
:config
|
||||||
;;; org-capture
|
;; Don't insert newline before every list entry
|
||||||
|
(setq org-blank-before-new-entry
|
||||||
|
'((heading . nil)
|
||||||
|
(plain-list-item . nil)))
|
||||||
|
;; org-capture
|
||||||
;; Default location for org-capture is ~/org/notes.org
|
;; Default location for org-capture is ~/org/notes.org
|
||||||
(setq org-default-notes-file (concat org-directory "/notes.org"))
|
(setq org-default-notes-file (concat org-directory "/notes.org"))
|
||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
|
@ -185,11 +209,20 @@
|
||||||
"* TODO %?\n %i\n %a")
|
"* TODO %?\n %i\n %a")
|
||||||
("j" "Journal" entry (file+datetree "~/org/journal.org")
|
("j" "Journal" entry (file+datetree "~/org/journal.org")
|
||||||
"* %?\nEntered on %U\n %i\n %a")))
|
"* %?\nEntered on %U\n %i\n %a")))
|
||||||
(setq org-link-frame-setup '((vm . vm-visit-folder-other-frame)
|
(setq org-link-frame-setup
|
||||||
(vm-imap . vm-visit-imap-folder-other-frame)
|
'((vm . vm-visit-folder-other-frame)
|
||||||
(gnus . org-gnus-no-new-news)
|
(vm-imap . vm-visit-imap-folder-other-frame)
|
||||||
(file . find-file)
|
(gnus . org-gnus-no-new-news)
|
||||||
(wl . wl-other-frame))))
|
(file . find-file)
|
||||||
|
(wl . wl-other-frame)))
|
||||||
|
;; org-agenda
|
||||||
|
(setq org-agenda-files '("~/doc/agenda.org"))
|
||||||
|
(setq org-agenda-prefix-format
|
||||||
|
'((dashboard-agenda . " %i %-12:c %s ")
|
||||||
|
(agenda . " %i %-12:c%?-12t% s")
|
||||||
|
(todo . " %i %-12:c")
|
||||||
|
(tags . " %i %-12:c")
|
||||||
|
(search . " %i %-12:c"))))
|
||||||
|
|
||||||
;; Notes
|
;; Notes
|
||||||
;; (use-package org-roam
|
;; (use-package org-roam
|
||||||
|
@ -216,6 +249,7 @@
|
||||||
(yas-global-mode 1))
|
(yas-global-mode 1))
|
||||||
|
|
||||||
(use-package god-mode
|
(use-package god-mode
|
||||||
|
:ensure t
|
||||||
:init
|
:init
|
||||||
(global-set-key (kbd "<escape>") #'god-mode-all)
|
(global-set-key (kbd "<escape>") #'god-mode-all)
|
||||||
(setq god-exempt-major-modes nil)
|
(setq god-exempt-major-modes nil)
|
||||||
|
@ -236,7 +270,7 @@
|
||||||
(fset 'tex-font-lock-suscript 'ignore))
|
(fset 'tex-font-lock-suscript 'ignore))
|
||||||
|
|
||||||
;; mu4e doesn't have a (m)elpa package, apparently, so it is set up manually here
|
;; mu4e doesn't have a (m)elpa package, apparently, so it is set up manually here
|
||||||
(require 'mu4e)
|
;; (require 'mu4e)
|
||||||
|
|
||||||
;; (use-package exwm
|
;; (use-package exwm
|
||||||
;; :init
|
;; :init
|
||||||
|
@ -312,6 +346,7 @@
|
||||||
(use-package elfeed
|
(use-package elfeed
|
||||||
:ensure t
|
:ensure t
|
||||||
:config
|
:config
|
||||||
|
(setq elfeed-curl-extra-arguments '("--insecure"))
|
||||||
(setq elfeed-feeds '(("http://tilde.town/~opfez/music_rss.xml" music)
|
(setq elfeed-feeds '(("http://tilde.town/~opfez/music_rss.xml" music)
|
||||||
("https://tilde.town/~dzwdz/blog.xml" friend)
|
("https://tilde.town/~dzwdz/blog.xml" friend)
|
||||||
("https://m455.casa/feed.rss" friend)
|
("https://m455.casa/feed.rss" friend)
|
||||||
|
@ -320,7 +355,6 @@
|
||||||
("https://tilde.town/~opfez/blog_rss.xml" friend)
|
("https://tilde.town/~opfez/blog_rss.xml" friend)
|
||||||
;; ("https://dataswamp.org/~solene/rss.xml" blog)
|
;; ("https://dataswamp.org/~solene/rss.xml" blog)
|
||||||
("https://stevelosh.com/rss.xml" blog)
|
("https://stevelosh.com/rss.xml" blog)
|
||||||
("https://drewdevault.com/blog/index.xml" blog)
|
|
||||||
("https://ftrv.se/posts.rss" blog)
|
("https://ftrv.se/posts.rss" blog)
|
||||||
("https://ambrevar.xyz/atom.xml" blog)
|
("https://ambrevar.xyz/atom.xml" blog)
|
||||||
("http://wingolog.org/feed/atom" blog)
|
("http://wingolog.org/feed/atom" blog)
|
||||||
|
@ -367,9 +401,7 @@
|
||||||
("https://www.youtube.com/feeds/videos.xml?channel_id=UCk2KE7yg0BwsJfr8Dp9ivUQ" youtube)
|
("https://www.youtube.com/feeds/videos.xml?channel_id=UCk2KE7yg0BwsJfr8Dp9ivUQ" youtube)
|
||||||
("https://www.youtube.com/feeds/videos.xml?channel_id=UCSdma21fnJzgmPodhC9SJ3g" youtube)
|
("https://www.youtube.com/feeds/videos.xml?channel_id=UCSdma21fnJzgmPodhC9SJ3g" youtube)
|
||||||
("https://www.youtube.com/feeds/videos.xml?channel_id=UCmtyQOKKmrMVaKuRXz02jbQ" youtube)
|
("https://www.youtube.com/feeds/videos.xml?channel_id=UCmtyQOKKmrMVaKuRXz02jbQ" youtube)
|
||||||
("https://www.youtube.com/feeds/videos.xml?channel_id=UCUmLRMERmJrmUtgnbFfknAg" youtube)
|
|
||||||
("https://www.youtube.com/feeds/videos.xml?channel_id=UCah7IyEzRnRdttwDGDdy_gw" youtube)
|
("https://www.youtube.com/feeds/videos.xml?channel_id=UCah7IyEzRnRdttwDGDdy_gw" youtube)
|
||||||
("https://www.youtube.com/feeds/videos.xml?channel_id=UCUmLRMERmJrmUtgnbFfknAg" youtube)
|
|
||||||
("https://www.youtube.com/feeds/videos.xml?channel_id=UCD6VugMZKRhSyzWEWA9W2fg" youtube)
|
("https://www.youtube.com/feeds/videos.xml?channel_id=UCD6VugMZKRhSyzWEWA9W2fg" youtube)
|
||||||
("https://www.youtube.com/feeds/videos.xml?channel_id=UCL7DDQWP6x7wy0O6L5ZIgxg" youtube)
|
("https://www.youtube.com/feeds/videos.xml?channel_id=UCL7DDQWP6x7wy0O6L5ZIgxg" youtube)
|
||||||
("https://www.youtube.com/feeds/videos.xml?channel_id=UCqp1yi_juq5JJuzKY71Hoag" youtube)
|
("https://www.youtube.com/feeds/videos.xml?channel_id=UCqp1yi_juq5JJuzKY71Hoag" youtube)
|
||||||
|
@ -383,5 +415,8 @@
|
||||||
("https://www.youtube.com/feeds/videos.xml?channel_id=UCrv269YwJzuZL3dH5PCgxUw" youtube)
|
("https://www.youtube.com/feeds/videos.xml?channel_id=UCrv269YwJzuZL3dH5PCgxUw" youtube)
|
||||||
("https://www.youtube.com/feeds/videos.xml?channel_id=UCt7fwAhXDy3oNFTAzF2o8Pw" youtube) ; theneedledrop
|
("https://www.youtube.com/feeds/videos.xml?channel_id=UCt7fwAhXDy3oNFTAzF2o8Pw" youtube) ; theneedledrop
|
||||||
("https://www.youtube.com/feeds/videos.xml?channel_id=UCOjLfFE0TABS9bk05oH-kgw" youtube) ; patricia taxxon
|
("https://www.youtube.com/feeds/videos.xml?channel_id=UCOjLfFE0TABS9bk05oH-kgw" youtube) ; patricia taxxon
|
||||||
|
("https://www.youtube.com/feeds/videos.xml?channel_id=UC9DkCKm4_VDztRRyge4mCJQ" youtube) ; amoeba records
|
||||||
|
("https://www.youtube.com/feeds/videos.xml?channel_id=UC2PA-AKmVpU6NKCGtZq_rKQ" youtube) ; philosophy tube
|
||||||
|
("https://www.youtube.com/feeds/videos.xml?channel_id=UC5qqBFOKTNAzIyE4g3SvuwQ" youtube) ; sleep deprived
|
||||||
)))
|
)))
|
||||||
(provide 'packages)
|
(provide 'packages)
|
||||||
|
|
5
readme
5
readme
|
@ -11,3 +11,8 @@ Files:
|
||||||
- tweaks.el: Mostly just tweaks correcting the (many) horrible defaults of
|
- tweaks.el: Mostly just tweaks correcting the (many) horrible defaults of
|
||||||
GNU Emacs. Also contains some improvements I doubt I will remove.
|
GNU Emacs. Also contains some improvements I doubt I will remove.
|
||||||
- custom.el: Contains keybinds and custom functions.
|
- custom.el: Contains keybinds and custom functions.
|
||||||
|
|
||||||
|
Note: The snippets under snippets/latex-mode are retrieved from
|
||||||
|
https://github.com/madsdk/yasnippets-latex, but not included by default with the
|
||||||
|
configuration since they're GPL and AFAIK including them would require my config
|
||||||
|
to conform to the GPL as well.
|
||||||
|
|
|
@ -97,6 +97,9 @@
|
||||||
;; Disable cursor blink
|
;; Disable cursor blink
|
||||||
(blink-cursor-mode 0)
|
(blink-cursor-mode 0)
|
||||||
|
|
||||||
|
;; Calendar should start on Monday
|
||||||
|
(setq calendar-week-start-day 1)
|
||||||
|
|
||||||
;; Auto-indent pasted code.
|
;; Auto-indent pasted code.
|
||||||
(dolist (command '(yank yank-pop))
|
(dolist (command '(yank yank-pop))
|
||||||
(eval
|
(eval
|
||||||
|
|
Loading…
Reference in New Issue