mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-24 03:50:24 +10:00
Adding elfeed to config
This commit is contained in:
@@ -11,8 +11,6 @@
|
||||
(use-package all-the-icons-dired
|
||||
:hook (dired-mode . (lambda () (all-the-icons-dired-mode t))))
|
||||
|
||||
(global-auto-revert-mode t)
|
||||
|
||||
(setq backup-directory-alist '((".*" . "~/.Trash")))
|
||||
|
||||
(use-package company
|
||||
@@ -52,8 +50,6 @@
|
||||
:config
|
||||
(dashboard-setup-startup-hook))
|
||||
|
||||
(delete-selection-mode 1)
|
||||
|
||||
(use-package diminish)
|
||||
|
||||
(use-package dired-open
|
||||
@@ -74,6 +70,36 @@
|
||||
(evil-define-key 'normal peep-dired-mode-map (kbd "k") 'peep-dired-prev-file)
|
||||
)
|
||||
|
||||
(use-package elfeed
|
||||
:config
|
||||
(setq elfeed-search-feed-face ":foreground #ffffff :weight bold"
|
||||
elfeed-feeds (quote
|
||||
(("https://www.reddit.com/r/linux.rss" reddit linux)
|
||||
("https://www.reddit.com/r/commandline.rss" reddit commandline)
|
||||
("https://www.reddit.com/r/distrotube.rss" reddit distrotube)
|
||||
("https://www.reddit.com/r/emacs.rss" reddit emacs)
|
||||
("https://www.gamingonlinux.com/article_rss.php" gaming linux)
|
||||
("https://hackaday.com/blog/feed/" hackaday linux)
|
||||
("https://opensource.com/feed" opensource linux)
|
||||
("https://linux.softpedia.com/backend.xml" softpedia linux)
|
||||
("https://itsfoss.com/feed/" itsfoss linux)
|
||||
("https://www.zdnet.com/topic/linux/rss.xml" zdnet linux)
|
||||
("https://www.phoronix.com/rss.php" phoronix linux)
|
||||
("http://feeds.feedburner.com/d0od" omgubuntu linux)
|
||||
("https://www.computerworld.com/index.rss" computerworld linux)
|
||||
("https://www.networkworld.com/category/linux/index.rss" networkworld linux)
|
||||
("https://www.techrepublic.com/rssfeeds/topic/open-source/" techrepublic linux)
|
||||
("https://betanews.com/feed" betanews linux)
|
||||
("http://lxer.com/module/newswire/headlines.rss" lxer linux)
|
||||
("https://distrowatch.com/news/dwd.xml" distrowatch linux)))))
|
||||
|
||||
|
||||
(use-package elfeed-goodies
|
||||
:init
|
||||
(elfeed-goodies/setup)
|
||||
:config
|
||||
(setq elfeed-goodies/entry-pane-size 0.5))
|
||||
|
||||
;; Expands to: (elpaca evil (use-package evil :demand t))
|
||||
(use-package evil
|
||||
:init ;; tweak evil's configuration before loading it
|
||||
@@ -86,7 +112,11 @@
|
||||
(use-package evil-collection
|
||||
:after evil
|
||||
:config
|
||||
(setq evil-collection-mode-list '(dashboard dired ibuffer))
|
||||
;; Do not uncomment this unless you want to specify each and every mode
|
||||
;; that evil-collection should works with. The following line is here
|
||||
;; for documentation purposes in case you need it.
|
||||
;; (setq evil-collection-mode-list '(calendar dashboard dired ediff info magit ibuffer))
|
||||
(add-to-list 'evil-collection-mode-list 'help) ;; evilify help mode
|
||||
(evil-collection-init))
|
||||
(use-package evil-tutor)
|
||||
|
||||
@@ -338,12 +368,18 @@
|
||||
|
||||
(use-package magit)
|
||||
|
||||
(menu-bar-mode -1)
|
||||
(tool-bar-mode -1)
|
||||
(scroll-bar-mode -1)
|
||||
|
||||
(global-display-line-numbers-mode 1)
|
||||
(global-visual-line-mode t)
|
||||
(use-package hl-todo
|
||||
:hook ((org-mode . hl-todo-mode)
|
||||
(prog-mode . hl-todo-mode))
|
||||
:config
|
||||
(setq hl-todo-highlight-punctuation ":"
|
||||
hl-todo-keyword-faces
|
||||
`(("TODO" warning bold)
|
||||
("FIXME" error bold)
|
||||
("HACK" font-lock-constant-face bold)
|
||||
("REVIEW" font-lock-keyword-face bold)
|
||||
("NOTE" success bold)
|
||||
("DEPRECATED" font-lock-doc-face bold))))
|
||||
|
||||
(use-package counsel
|
||||
:after ivy
|
||||
@@ -420,9 +456,6 @@
|
||||
(use-package org-bullets)
|
||||
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1)))
|
||||
|
||||
(electric-indent-mode -1)
|
||||
(setq org-edit-src-content-indentation 0)
|
||||
|
||||
(eval-after-load 'org-indent '(diminish 'org-indent-mode))
|
||||
|
||||
(custom-set-faces
|
||||
@@ -457,10 +490,31 @@
|
||||
:config
|
||||
(projectile-mode 1))
|
||||
|
||||
(use-package rainbow-delimiters
|
||||
:hook ((emacs-lisp-mode . rainbow-delimiters-mode)
|
||||
(clojure-mode . rainbow-delimiters-mode)))
|
||||
|
||||
(use-package rainbow-mode
|
||||
:diminish
|
||||
:hook org-mode prog-mode)
|
||||
|
||||
(delete-selection-mode 1) ;; You can select text and delete it by typing.
|
||||
(electric-indent-mode -1) ;; Turn off the weird indenting that Emacs does by default.
|
||||
(electric-pair-mode 1) ;; Turns on automatic parens pairing
|
||||
;; The following prevents <> from auto-pairing when electric-pair-mode is on.
|
||||
;; Otherwise, org-tempo is broken when you try to <s TAB...
|
||||
(add-hook 'org-mode-hook (lambda ()
|
||||
(setq-local electric-pair-inhibit-predicate
|
||||
`(lambda (c)
|
||||
(if (char-equal c ?<) t (,electric-pair-inhibit-predicate c))))))
|
||||
(global-auto-revert-mode t) ;; Automatically show changes if the file has changed
|
||||
(global-display-line-numbers-mode 1) ;; Display line numbers
|
||||
(global-visual-line-mode t) ;; Enable truncated lines
|
||||
(menu-bar-mode -1) ;; Disable the menu bar
|
||||
(scroll-bar-mode -1) ;; Disable the scroll bar
|
||||
(tool-bar-mode -1) ;; Disable the tool bar
|
||||
(setq org-edit-src-content-indentation 0) ;; Set src block automatic indent to 0 instead of 2.
|
||||
|
||||
(use-package eshell-toggle
|
||||
:custom
|
||||
(eshell-toggle-size-fraction 3)
|
||||
@@ -494,9 +548,6 @@
|
||||
(use-package vterm-toggle
|
||||
:after vterm
|
||||
:config
|
||||
;; When running programs in Vterm and in 'insert' mode, make sure that CTRL-c
|
||||
;; kills the program as it would in any standard terminal/shell.
|
||||
(evil-define-key 'insert vterm-mode-map (kbd "C-c") 'vterm--self-insert)
|
||||
;; When running programs in Vterm and in 'normal' mode, make sure that ESC
|
||||
;; kills the program as it would in most standard terminal programs.
|
||||
(evil-define-key 'normal vterm-mode-map (kbd "<escape>") 'vterm--self-insert)
|
||||
|
||||
Reference in New Issue
Block a user