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; -*-
|
;;; 05-basic.el --- Setup some basics. -*- no-byte-compile: t; lexical-binding: t; -*-
|
||||||
|
|
||||||
;; Setup the font
|
;; 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
|
;; I use narrowing, I am a mature emacs user! I do not need the hand-holding
|
||||||
;; (usually).
|
;; (usually).
|
||||||
@@ -83,22 +83,35 @@
|
|||||||
:config (direnv-mode))
|
:config (direnv-mode))
|
||||||
|
|
||||||
;; RSS reader
|
;; RSS reader
|
||||||
(use-package elfeed
|
(use-package
|
||||||
|
elfeed
|
||||||
:ensure t
|
:ensure t
|
||||||
:defer t
|
:defer t
|
||||||
:commands (elfeed)
|
:commands (elfeed)
|
||||||
:init
|
:init (setq elfeed-feeds
|
||||||
(setq elfeed-feeds
|
'((http://feeds.nightvalepresents.com/welcometonightvalepodcast
|
||||||
'(("https://sachachua.com/blog/category/emacs-news/feed" emacs)
|
nightvale)
|
||||||
("https://planet.emacslife.com/atom.xml" emacs)
|
("https://sachachua.com/blog/category/emacs-news/feed"
|
||||||
("https://ria.ru/export/rss2/archive/index.xml" ru-news)
|
emacs)
|
||||||
("https://rssexport.rbc.ru/rbcnews/news/30/full.rss" ru-news)
|
("https://planet.emacslife.com/atom.xml"
|
||||||
("https://lenta.ru/rss" ru-news)
|
emacs)
|
||||||
("https://rg.ru/xml/index.xml" ru-news)
|
("https://ria.ru/export/rss2/archive/index.xml"
|
||||||
("https://portamur.ru/news/rss.php" ru-news local-news)
|
ru-news)
|
||||||
("https://kagi.com/smallweb/appreciated" small-web)
|
("https://rssexport.rbc.ru/rbcnews/news/30/full.rss"
|
||||||
("https://kagi.com/api/v1/smallweb/feed/?gh" small-web)
|
ru-news)
|
||||||
("https://scour.ing/@DiToast/rss.xml" scour)))
|
("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)))
|
:bind (("C-c f" . elfeed)))
|
||||||
|
|
||||||
;; Setting this to true makes it so that Emacs saves existing clipboard text
|
;; Setting this to true makes it so that Emacs saves existing clipboard text
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
(use-package org-roam-ui
|
(use-package org-roam-ui
|
||||||
:ensure t
|
:ensure t
|
||||||
:defer t
|
:defer t
|
||||||
:diminish org-roam-ui-mode
|
:diminish (org-roam-ui-mode . "ORUI")
|
||||||
:diminish org-roam-ui-follow-mode
|
:diminish org-roam-ui-follow-mode
|
||||||
:commands (org-roam-ui-mode))
|
:commands (org-roam-ui-mode))
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
|
|
||||||
:config
|
:config
|
||||||
(add-to-list 'eglot-server-programs '((rust-mode) . ("rust-analyzer")))
|
(add-to-list 'eglot-server-programs '((rust-mode) . ("rust-analyzer")))
|
||||||
|
(add-to-list 'eglot-server-programs '(nix-mode . ("nil")))
|
||||||
;; Optimizations
|
;; Optimizations
|
||||||
(fset #'jsonrpc--log-event #'ignore)
|
(fset #'jsonrpc--log-event #'ignore)
|
||||||
(setq jsonrpc-event-hook nil))
|
(setq jsonrpc-event-hook nil))
|
||||||
@@ -89,7 +90,9 @@
|
|||||||
(use-package nix-mode
|
(use-package nix-mode
|
||||||
:ensure t
|
:ensure t
|
||||||
:defer t
|
:defer t
|
||||||
:commands (nix-mode))
|
:commands (nix-mode)
|
||||||
|
:hook
|
||||||
|
(nix-mode . eglot-ensure))
|
||||||
|
|
||||||
;; Common Lisp
|
;; Common Lisp
|
||||||
(use-package sly
|
(use-package sly
|
||||||
@@ -104,4 +107,11 @@
|
|||||||
:ensure t
|
:ensure t
|
||||||
:defer 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
|
;;; 15-lsp.el end here
|
||||||
|
|||||||
Reference in New Issue
Block a user