Browse Source

Update .emacs

master
John 3 years ago
parent
commit
032cfb9f6d
1 changed files with 8 additions and 0 deletions
  1. 8
    0
      .emacs

+ 8
- 0
.emacs View File

@@ -216,6 +216,14 @@
(eww-mode)
(eww url)))

(defun eww-new-url()
"Open link under cursor in new instance of eww"
(interactive)
(let ((url (shr-copy-url)))
(switch-to-buffer (generate-new-buffer "*eww*"))
(eww-mode)
(eww url)))


;;; Scratch ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


Loading…
Cancel
Save