diff --git a/custom.el b/custom.el index 7fcd833..e238492 100644 --- a/custom.el +++ b/custom.el @@ -297,14 +297,19 @@ (global-set-key (kbd "M-z") 'zap-up-to-char) ;; Binds for switching between light and dark themes. -(defmacro fez/switch-theme (new-theme) - `(lambda () - (interactive) - (disable-theme (car custom-enabled-themes)) - (enable-theme ,new-theme))) +(defun fez/switch-theme (new-theme) + (lambda () + (interactive) + (disable-theme (car custom-enabled-themes)) + (enable-theme new-theme))) (global-set-key [f5] (fez/switch-theme 'magik)) (global-set-key [f6] (fez/switch-theme 'basic)) (add-hook 'emacs-lisp-mode-hook (lambda () (local-set-key (kbd "C-c k") #'fez/insert-keybind))) + +;;; Variables + +(setq ssh-private-key-location "~/.ssh/id_ed25519") +(setq ssh-public-key-location (concat ssh-private-key-location ".pub")) diff --git a/early-init.el b/early-init.el new file mode 100644 index 0000000..ba3dcbe --- /dev/null +++ b/early-init.el @@ -0,0 +1,2 @@ +;; No native comp +(setq native-comp-speed -1) diff --git a/packages.el b/packages.el index c034fd2..ffadbdf 100644 --- a/packages.el +++ b/packages.el @@ -133,9 +133,9 @@ (setq mc/always-run-for-all t)) ;; avy - jump around files more easily -;; (use-package avy -;; :ensure t -;; :bind ("M-s" . avy-goto-char)) +(use-package avy + :ensure t + :bind ("M-j" . avy-goto-char-timer)) ;; Amazing git porcelain. (use-package magit @@ -318,7 +318,7 @@ ("https://itwont.work/atom.xml" friend) ("http://tilde.town/~archenoth/.weed" friend) ("https://tilde.town/~opfez/blog_rss.xml" friend) - ("https://dataswamp.org/~solene/rss.xml" blog) + ;; ("https://dataswamp.org/~solene/rss.xml" blog) ("http://verisimilitudes.net/rss.xml" blog) ("https://stevelosh.com/rss.xml" blog) ("https://drewdevault.com/blog/index.xml" blog) @@ -331,8 +331,8 @@ ("https://100r.co/links/rss.xml" blog) ("https://weinholt.se/feed.xml" blog) ("https://www.more-magic.net/feed.atom" blog) - ("https://planet.scheme.org/atom.xml" blog) - ("https://planet.lisp.org/rss20.xml" blog) + ;; ("https://planet.emacslife.com/atom.xml" blog) + ;; ("https://planet.lisp.org/rss20.xml" blog) ("https://git.qorg11.net/kill9.git/rss" blog) ("https://regularflolloping.com/rss.xml" blog) ("https://sigkill.dk/atom.xml" blog) @@ -340,7 +340,7 @@ ("http://leahneukirchen.org/trivium/index.atom" blog) ("https://cosmic.voyage/rss.xml" other) ("https://xkcd.com/rss.xml" other) - ("https://nixers.net/syndication.php?limit=15" other) + ;; ("https://nixers.net/syndication.php?limit=15" other) ("http://lambda-the-ultimate.org/node/feed" other) ("https://esoteric.codes/rss" other) ("https://solar.lowtechmagazine.com/feeds/all-en.atom.xml" news) @@ -348,13 +348,12 @@ ("https://suckless.org/atom.xml" news) ;("https://www.aftenposten.no/rss/" news) ;("https://www.nrk.no/toppsaker.rss" news) + ("https://www.youtube.com/feeds/videos.xml?channel_id=UCeh-pJYRZTBJDXMNZeWSUVA" youtube) ("https://www.youtube.com/feeds/videos.xml?channel_id=UC_QIfHvN9auy2CoOdSfMWDw" youtube) ("https://www.youtube.com/feeds/videos.xml?channel_id=UCD6VugMZKRhSyzWEWA9W2fg" youtube) ("https://www.youtube.com/feeds/videos.xml?channel_id=UClOGLGPOqlAiLmOvXW5lKbw" youtube) ("https://www.youtube.com/feeds/videos.xml?channel_id=UC4nJnJ-HO5vVbGlJ14rf5yg" youtube) - ("https://www.youtube.com/feeds/videos.xml?channel_id=UCpFOj1CQMr9a3zaqEfhkTJw" youtube) ("https://www.youtube.com/feeds/videos.xml?channel_id=UCsvn_Po0SmunchJYOWpOxMg" youtube) - ("https://www.youtube.com/feeds/videos.xml?channel_id=UCsnGwSIHyoYN0kiINAGUKxg" youtube) ("https://www.youtube.com/feeds/videos.xml?channel_id=UCl_dlV_7ofr4qeP1drJQ-qg" youtube) ("https://www.youtube.com/feeds/videos.xml?channel_id=UC3ts8coMP645hZw9JSD3pqQ" youtube) ("https://www.youtube.com/feeds/videos.xml?channel_id=UCtUbO6rBht0daVIOGML3c8w" youtube) @@ -380,6 +379,9 @@ ("https://www.youtube.com/feeds/videos.xml?channel_id=UCTvH45HvnOzqXvfNJqdc3xg" youtube) ("https://www.youtube.com/feeds/videos.xml?channel_id=UCrqM0Ym_NbK1fqeQG2VIohg" youtube) ("https://www.youtube.com/feeds/videos.xml?channel_id=UCd-qVRcjoK9zjtDs_LRxSmw" youtube) - ("https://www.youtube.com/feeds/videos.xml?channel_id=UCsUablJrqdwCh83e55tBWPQ" youtube)))) - + ("https://www.youtube.com/feeds/videos.xml?channel_id=UCsUablJrqdwCh83e55tBWPQ" youtube) + ("https://www.youtube.com/feeds/videos.xml?channel_id=UCXYejH-GyeQblhfNM01L-Rg" youtube) + ("https://www.youtube.com/feeds/videos.xml?channel_id=UCrv269YwJzuZL3dH5PCgxUw" youtube) + ("https://www.youtube.com/feeds/videos.xml?channel_id=UCt7fwAhXDy3oNFTAzF2o8Pw" youtube) ; theneedledrop + ))) (provide 'packages)