Modifying emacs config
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
(setq user-full-name "opal"
|
||||
user-mail-address "ry.orlando@proton.me")
|
||||
|
||||
;; (setq doom-theme 'doom-dracula)
|
||||
(load-theme 'doom-gruvbox t)
|
||||
;;(define-key global-map (kbd "<f5>") #'modus-themes-toggle)
|
||||
|
||||
@@ -19,8 +18,7 @@
|
||||
eshell-mode-hook))
|
||||
(add-hook mode (lambda () (display-line-numbers-mode 0))))
|
||||
|
||||
(setq browse-url-browser-function 'browse-url-generic
|
||||
browse-url-generic-program "qutebrowser")
|
||||
(setq browse-url-browser-function 'eww-browse-url)
|
||||
|
||||
(set-face-attribute 'default nil :font "Terminus" :height 130 :weight 'regular)
|
||||
(set-face-attribute 'fixed-pitch nil :font "Terminus" :height 1.0 :weight 'regular)
|
||||
@@ -125,9 +123,6 @@
|
||||
;; Set org agenda dir
|
||||
(setq org-directory "~/org/")
|
||||
|
||||
;; Open links in browser
|
||||
(setq browse-url-browser-function 'browse-url-generic
|
||||
browse-url-generic-program "firefox")
|
||||
|
||||
;; Init org font setup
|
||||
(opal/org-font-setup))
|
||||
@@ -153,8 +148,7 @@
|
||||
'((emacs-lisp . t)
|
||||
(lisp . t)
|
||||
(python . t)
|
||||
(sql . t)
|
||||
(clojure . t)))
|
||||
(sql . t)))
|
||||
|
||||
(push '("conf-unix" . conf-unix) org-src-lang-modes))
|
||||
|
||||
@@ -167,9 +161,54 @@
|
||||
(add-to-list 'org-structure-template-alist '("py" . "src python"))
|
||||
(add-to-list 'org-structure-template-alist '("clj" . "src clojure")))
|
||||
|
||||
(setq rmh-elfeed-org-files (list "~/sync/elfeed/feeds.org"))
|
||||
(add-hook! 'elfeed-search-mode-hook 'elfeed-update)
|
||||
(after! elfeed
|
||||
(setq elfeed-search-filter "@1-month-ago +unread"))
|
||||
|
||||
(use-package elfeed
|
||||
:ensure t
|
||||
:bind
|
||||
("C-c f" . elfeed) ;; Open Elfeed
|
||||
:config
|
||||
;; Set your feeds
|
||||
(setq elfeed-feeds
|
||||
'(
|
||||
;; Emacs
|
||||
("https://sachachua.com/blog/feed/index.xml" tech emacs)
|
||||
("https://protesilaos.com/master.xml" tech emacs philosophy)
|
||||
("https://systemcrafters.net/rss/news.xml" tech emacs)
|
||||
|
||||
;; Reddit
|
||||
("https://www.reddit.com/r/stupidpol/.rss" reddit politics)
|
||||
|
||||
;; News
|
||||
("https://thegrayzone.com/rss" news politics)
|
||||
("https://multipolarista.com/rss" news politics)
|
||||
("https://www.telesurenglish.net/feed/" news politics)
|
||||
("https://theintercept.com/feed/" news politics)
|
||||
|
||||
;; Tech
|
||||
("https://landchad.net/rss.xml" tech)
|
||||
("https://videos.lukesmith.xyz/feeds/videos.xml?videoChannelId=2" tech linux)
|
||||
("https://pluralistic.net/feed/" tech privacy)
|
||||
("https://blog.privacyguides.org/feed_rss_created.xml" tech privacy)
|
||||
|
||||
;; Podcasts
|
||||
("https://feeds.simplecast.com/dCXMIpJz" podcast history)
|
||||
("http://feeds.soundcloud.com/users/soundcloud:users:572119410/sounds.rss" podcast music)
|
||||
("https://feeds.feedburner.com/dancarlin/history?format=xml" podcast history)
|
||||
|
||||
;; YouTube
|
||||
("https://www.youtube.com/channel/UC_bOcLgDdfE1whPDIwx3M_g" youtube travel)
|
||||
("https://www.youtube.com/feeds/videos.xml?channel_id=UC8uT9cgJorJPWu7ITLGo9Ww" youtube tech retro)
|
||||
("https://www.youtube.com/feeds/videos.xml?channel_id=UC0aanx5rpr7D1M7KCFYzrLQ" youtube commentary politics)
|
||||
))
|
||||
|
||||
;; Set default search filter
|
||||
(setq elfeed-search-filter "@1-month-ago +unread")
|
||||
|
||||
;; Update feeds automatically when entering Elfeed search mode
|
||||
(add-hook 'elfeed-search-mode-hook 'elfeed-update))
|
||||
|
||||
(setq create-lockfiles nil)
|
||||
|
||||
;; Make sure eww opens in it's own buffer
|
||||
(after! eww
|
||||
(set-popup-rule! "^\\*eww\\*" :ignore t))
|
||||
|
||||
@@ -40,7 +40,7 @@ highlight article ":.*\\(link\\)$" cyan default
|
||||
highlight article ":.*\\(image\\)$" blue default
|
||||
highlight article ":.*\\(embedded flash\\)$" magenta default
|
||||
|
||||
urls-source "ttrss"
|
||||
ttrss-url "https://rss.opal.sh/tt-rss/"
|
||||
ttrss-login "ryan"
|
||||
ttrss-passwordeval "gopass show -o self-hosted/rss.opal.sh"
|
||||
#urls-source "ttrss"
|
||||
#ttrss-url "https://rss.opal.sh/tt-rss/"
|
||||
#ttrss-login "ryan"
|
||||
#ttrss-passwordeval "gopass show -o self-hosted/rss.opal.sh"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
;; vi keybindings
|
||||
(define-configuration buffer
|
||||
((default-modes
|
||||
(pushnew 'nyxt/mode/vi:vi-normal-mode %slot-value%))))
|
||||
(pushnew 'nyxt/mode/vi:vi-normal-mode %slot-value%))))
|
||||
|
||||
;; Vi-insert mode for prompt-buffer (minibuffer)
|
||||
(define-configuration prompt-buffer
|
||||
@@ -9,11 +9,11 @@
|
||||
|
||||
(defvar *my-search-engines*
|
||||
(list
|
||||
'("ddg" "https://duckduckgo.com/search?q=~a" "https://duckduckgo.com"))
|
||||
'("ddg" "https://duckduckgo.com/?q=~a" "https://duckduckgo.com"))
|
||||
"List of search engines.")
|
||||
|
||||
(define-configuration context-buffer
|
||||
"Set DuckDuckGo as the default search engine."
|
||||
"Set DuckDuckGo as the default search engine."
|
||||
((search-engines
|
||||
(append %slot-default%
|
||||
(mapcar
|
||||
|
||||
Reference in New Issue
Block a user