Constrain eaf browser to just orui

This commit is contained in:
Emmet 2023-06-22 15:09:17 -05:00
parent b4a0d72a92
commit 976317527e
2 changed files with 8 additions and 0 deletions

View file

@ -675,6 +675,8 @@ same directory as the org-buffer and insert a link to this file."
; (window-width . 50)
;))
(setq org-roam-ui-browser-function 'eaf-open-browser)
(defun open-org-roam-ui ()
(interactive)
(+evil/window-vsplit-and-follow)
@ -1013,6 +1015,8 @@ https://github.com/magit/magit/issues/460 (@cpitclaudel)."
(_ (kbd "SPC")))
(kbd "SPC")))))
(setq browse-url-browser-function 'browse-url-default-browser)
(map! :leader
:desc "Open web browser"
"o w" #'eaf-open-browser-with-history)

View file

@ -799,6 +799,8 @@ I want this to be able to automatically open ORUI in EAF Browser in a split to t
; (window-width . 50)
;))
(setq org-roam-ui-browser-function 'eaf-open-browser)
(defun open-org-roam-ui ()
(interactive)
(+evil/window-vsplit-and-follow)
@ -1174,6 +1176,8 @@ I don't have this active right now since I'm exploring tab-bar mode instead!
(_ (kbd "SPC")))
(kbd "SPC")))))
(setq browse-url-browser-function 'browse-url-default-browser)
(map! :leader
:desc "Open web browser"
"o w" #'eaf-open-browser-with-history)