diff options
Diffstat (limited to 'modules/eww-config.el')
| -rw-r--r-- | modules/eww-config.el | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/modules/eww-config.el b/modules/eww-config.el new file mode 100644 index 00000000..f0ee51a6 --- /dev/null +++ b/modules/eww-config.el @@ -0,0 +1,28 @@ +;;; eww-config --- EWW Text Browser Settings -*- lexical-binding: t; -*- +;; author Craig Jennings <c@cjennings.net> + +;;; Commentary: + +;;; Code: + +;; ------------------------------------ EWW ------------------------------------ + +(use-package eww + :ensure nil ;; built-in + :bind + ("M-E" . eww) + (:map eww-mode-map + ("<" . eww-back-url) ;; in addition to 'l' + (">" . eww-forward-url) ;; in addition to 'n' + ("i" . eww-toggle-images) + ("o" . eww-open-in-new-buffer)) + :config + (setq shr-use-colors nil) ;; respect colors in the html + (setq shr-bullet "• ") ;; unordered lists use bullet glyph + (setq shr-folding-mode t) + (setq eww-search-prefix "https://duckduckgo.com/html?q=") ;; use Duck Duck Go as search engine + (setq url-cookie-file "~/.local/share/cookies.txt") + (setq url-privacy-level '(email agent lastloc))) ;; don't send any info listed here + +(provide 'eww-config) +;;; eww-config.el ends here |
