diff options
Diffstat (limited to '.config/emacs')
-rw-r--r-- | .config/emacs/init.el | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el index a4a92cd..24b57a2 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -28,7 +28,7 @@ ;; ╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╱╰╯ ;;; Code: -;; Disable package.el +(package-initialize) (setf user-full-name "Thanos Apollo" user-mail-address "[email protected]") @@ -71,7 +71,7 @@ ;; Enable use-package support for imenu (setf use-package-enable-imenu-support t) -(setf browse-url-browser-function 'browse-url-generic +(setf browse-url-browser-function 'eww ;; 'browse-url-generic browse-url-generic-program "icecat" backup-directory-alist '((".*" . "~/.Trash")) sentence-end-double-space t @@ -465,7 +465,7 @@ :init (define-prefix-command 'thanos/search) :bind (("C-x r d" . 'bookmark-delete) ("C-x r C-r" . 'bookmark-rename) - ("C-x r j" . 'consult-register) + ("C-x r C-j" . 'consult-register) ("C-x r SPC" . 'consult-register-store) ("C-x r b" . 'consult-bookmark) ("C-c m" . 'consult-imenu) @@ -491,6 +491,7 @@ (use-package elfeed :defer t + :vc (:url "https://github.com/skeeto/elfeed") :config (setf elfeed-search-filter "@1-week-ago +unread -hackernoon" browse-url-browser-function #'browse-url-default-browser @@ -514,7 +515,6 @@ ("http://localhost/?action=display&bridge=CssSelectorBridge&home_page=https%3A%2F%2Fwww.estianews.gr%2Feidiseis-arthra%2F&url_selector=h3.entry-title&url_pattern=&content_selector=div.col-lg-8&content_cleanup=&title_cleanup=&limit=&format=Atom" estia greek news) ("http://localhost/?action=display&bridge=CssSelectorBridge&home_page=https%3A%2F%2Fwww.estianews.gr%2Fkentriko-thema%2F&url_selector=h3.entry-title&url_pattern=&content_selector=div.col-md-8&content_cleanup=&title_cleanup=&limit=&format=Atom" estia greek kyrio) ("http://localhost/?action=display&bridge=CssSelectorBridge&home_page=https%3A%2F%2Fwww.estianews.gr%2Fapopseis%2F&url_selector=h3.entry-title&url_pattern=&content_selector=div.col-lg-8&content_cleanup=&title_cleanup=&limit=&format=Atom" estia greek opinions) - ("http://localhost/?action=display&bridge=CssSelectorBridge&home_page=https%3A%2F%2Fwww.reuters.com%2Fworld%2F&url_selector=a.media-story-card__headline__tFMEu&url_pattern=&content_selector=article.article__container__2MUeZ&content_cleanup=div.info-content__toolbar__3AkHm%2C+div.article-body__row__dFOPA%2C+div.article__read-next__Kjxdw&title_cleanup=&limit=&format=Atom" reuters world news) ("http://localhost/?action=display&bridge=CssSelectorBridge&home_page=https%3A%2F%2Fwww.reuters.com%2Fbusiness%2Fhealthcare-pharmaceuticals%2F&url_selector=a.basic-card__title__37xHl&url_pattern=&content_selector=div.article-body__wrapper__3IxHM&content_cleanup=svg.link__new-tab-symbol__3T19s%2C+div.toolbar__container__3kIkw%2C+div.article-body__row__dFOPA+article-body__element__2p5pI&title_cleanup=&limit=&format=Atom" reuters med news) ("http://localhost/?action=display&bridge=CssSelectorBridge&home_page=https%3A%2F%2Fwww.reuters.com%2Ftechnology%2Fcybersecurity%2F&url_selector=a.media-story-card__headline__tFMEu%2C+a.media-story-card__heading__eqhp9&url_pattern=&content_selector=article.article__container__2MUeZ&content_cleanup=div.info-content__toolbar__3AkHm%2C+svg.link__new-tab-symbol__3T19s%2C+div.article-body__row__dFOPA%2C+div.read-next-tablet-up__container__3MpHN%2C+div.author-bio__multiple-authors__5YGrG%2C+div.article__read-next__Kjxdw&title_cleanup=&limit=&format=Atom" reuters cybersec news) ("https://annas-blog.org/ @@ -672,11 +672,7 @@ rss.xml" anna piracy) "Format patches for NUM of last commits" (interactive (list (read-number "Number of commits: "))) (vc-git-command nil 0 nil "format-patch" (format "-%d" num)) - (message "Done.")) - :bind - (:map vc-dir-mode-map - ("w" . vc-diff) - ("W" . vc-root-diff))) + (message "Done."))) (use-package corfu :ensure t |