Change font size, add a feed, configure nil, install lispy
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user