summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'init.el')
-rw-r--r--init.el12
1 files changed, 11 insertions, 1 deletions
diff --git a/init.el b/init.el
index 1f879db..7f7ee4e 100644
--- a/init.el
+++ b/init.el
@@ -126,6 +126,8 @@ no effect."
;;;###autoload
(load-after-function durand-mu4e "mail.el" "Open mu4e." t (mu4e))
+(define-key global-map (vector 3 109) #'durand-mu4e)
+
(add-to-list 'auto-mode-alist (cons "pdf$" #'pdf-view-mode))
;;;###autoload
@@ -252,7 +254,15 @@ no effect."
;;; eww
-(load-config "eww-conf.el")
+(load-after-function
+ eww "eww-conf.el" "Load eww and launch it." nil
+ (apply #'eww
+ (let* ((uris (eww-suggested-uris))
+ (prompt (concat "Enter URL or keywords"
+ (if uris (format " (default %s)" (car uris)) "")
+ ": ")))
+ (list (read-string prompt nil 'eww-prompt-history uris)
+ (prefix-numeric-value current-prefix-arg)))))
;;; Viewing things