-
Notifications
You must be signed in to change notification settings - Fork 227
Customization
Andy Stewart edited this page Jan 12, 2020
·
26 revisions
There are certain variables will be shared across Emacs Lisp and Python. You can easily configure then with the function eaf-setq
.
Check the full list of configurable variables with C-h v eaf-var-list
Set EAF Browser as your default browser within Emacs.
(setq browse-url-browser-function 'eaf-open-browser)
(defalias 'browse-web #'eaf-open-browser)
Default url of blank page is https://www.google.com
(eaf-setq eaf-browse-blank-page-url "https://duckduckgo.com")
For security reasons, some people may want to disable JavaScript within EAF Browser. The option has been probided.
(eaf-setq eaf-browser-enable-plugin "false")
(eaf-setq eaf-browser-enable-javascript "false")
We don’t recommend it, you will lose a lot of features that EAF Browser provided.
Default zoom of EAF Browser is 1.0, you can set default zoom with below code:
(eaf-setq eaf-browse-default-zoom "1.25")
The default directory to store images taken by EAF Camera is ~/Downloads
. You can change it like this.
(eaf-setq eaf-camera-save-path "new/path/")