diff options
Diffstat (limited to 'init.org')
-rw-r--r-- | init.org | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -2222,6 +2222,25 @@ #+begin_src emacs-lisp (jao-load-org "w3m") #+end_src +*** eww + #+BEGIN_SRC emacs-lisp + (use-package jao-eww-session + :custom ((jao-eww-session-duplicate-tabs 'ask) + (jao-eww-session-file "~/.emacs.d/eww-session.el"))) + + (defun jao-eww-browse-url (url &rest r) + "Browse URL using eww." + (jao-afio--goto-www) + (select-window (frame-first-window)) + (eww url 4)) + + (setq eww-download-directory "~/var/download" + eww-browse-url-new-window-is-tab nil + shr-max-width 130 + shr-width nil + shr-max-image-proportion 0.9 + jao-browse-url-function #'jao-eww-browse-url) + #+END_SRC * Shells *** shell modes #+begin_src emacs-lisp |