diff --git a/.config.d/05-basic.el b/.config.d/05-basic.el index 0662643..fa7b3f8 100644 --- a/.config.d/05-basic.el +++ b/.config.d/05-basic.el @@ -1,7 +1,7 @@ ;;; 05-basic.el --- Setup some basics. -*- no-byte-compile: t; lexical-binding: t; -*- ;; Setup the font -(set-face-attribute 'default nil :height 140 :font "Iosevka Nerd Font" :weight 'normal) +(set-face-attribute 'default nil :height 120 :font "Iosevka Nerd Font" :weight 'normal) ;; I use narrowing, I am a mature emacs user! I do not need the hand-holding ;; (usually). @@ -83,22 +83,35 @@ :config (direnv-mode)) ;; RSS reader -(use-package elfeed +(use-package + elfeed :ensure t :defer t :commands (elfeed) - :init - (setq elfeed-feeds - '(("https://sachachua.com/blog/category/emacs-news/feed" emacs) - ("https://planet.emacslife.com/atom.xml" emacs) - ("https://ria.ru/export/rss2/archive/index.xml" ru-news) - ("https://rssexport.rbc.ru/rbcnews/news/30/full.rss" ru-news) - ("https://lenta.ru/rss" ru-news) - ("https://rg.ru/xml/index.xml" ru-news) - ("https://portamur.ru/news/rss.php" ru-news local-news) - ("https://kagi.com/smallweb/appreciated" small-web) - ("https://kagi.com/api/v1/smallweb/feed/?gh" small-web) - ("https://scour.ing/@DiToast/rss.xml" scour))) + :init (setq elfeed-feeds + '((http://feeds.nightvalepresents.com/welcometonightvalepodcast + nightvale) + ("https://sachachua.com/blog/category/emacs-news/feed" + emacs) + ("https://planet.emacslife.com/atom.xml" + emacs) + ("https://ria.ru/export/rss2/archive/index.xml" + ru-news) + ("https://rssexport.rbc.ru/rbcnews/news/30/full.rss" + ru-news) + ("https://lenta.ru/rss" + ru-news) + ("https://rg.ru/xml/index.xml" + ru-news) + ("https://portamur.ru/news/rss.php" + ru-news + local-news) + ("https://kagi.com/smallweb/appreciated" + small-web) + ("https://kagi.com/api/v1/smallweb/feed/?gh" + small-web) + ("https://scour.ing/@DiToast/rss.xml" + scour))) :bind (("C-c f" . elfeed))) ;; Setting this to true makes it so that Emacs saves existing clipboard text diff --git a/.config.d/07-org.el b/.config.d/07-org.el index 31b555d..d81e1d6 100644 --- a/.config.d/07-org.el +++ b/.config.d/07-org.el @@ -31,7 +31,7 @@ (use-package org-roam-ui :ensure t :defer t - :diminish org-roam-ui-mode + :diminish (org-roam-ui-mode . "ORUI") :diminish org-roam-ui-follow-mode :commands (org-roam-ui-mode)) diff --git a/.config.d/15-lsp.el b/.config.d/15-lsp.el index 3eeaeca..e8ccbed 100644 --- a/.config.d/15-lsp.el +++ b/.config.d/15-lsp.el @@ -22,6 +22,7 @@ :config (add-to-list 'eglot-server-programs '((rust-mode) . ("rust-analyzer"))) + (add-to-list 'eglot-server-programs '(nix-mode . ("nil"))) ;; Optimizations (fset #'jsonrpc--log-event #'ignore) (setq jsonrpc-event-hook nil)) @@ -89,7 +90,9 @@ (use-package nix-mode :ensure t :defer t - :commands (nix-mode)) + :commands (nix-mode) + :hook + (nix-mode . eglot-ensure)) ;; Common Lisp (use-package sly @@ -104,4 +107,11 @@ :ensure t :defer t) +;; Lispy provides structural editing to lisp modes. +(use-package lispy + :ensure t + :defer t) + +(add-hook 'emacs-lisp-mode-hook (lambda () (lispy-mode 1))) + ;;; 15-lsp.el end here