25 lines
758 B
EmacsLisp
25 lines
758 B
EmacsLisp
;; -*- lexical-binding: t; -*-
|
|
|
|
(use-package eaf
|
|
:defer nil
|
|
:load-path "~/.emacs.d/site-lisp/emacs-application-framework/"
|
|
:custom ; See https://github.com/emacs-eaf/emacs-application-framework/wiki/Customization
|
|
(eaf-browser-continue-where-left-off t)
|
|
(eaf-browser-enable-adblocker t)
|
|
;; (browse-url-browser-function 'eaf-open-browser)
|
|
:config
|
|
(require 'eaf-pdf-viewer)
|
|
(require 'eaf-music-player)
|
|
(require 'eaf-image-viewer)
|
|
;; (defalias 'browse-web #'eaf-open-browser)
|
|
;; (eaf-bind-key scroll_up "C-n" eaf-pdf-viewer-keybinding)
|
|
;; (eaf-bind-key scroll_down "C-p" eaf-pdf-viewer-keybinding)
|
|
;; (eaf-bind-key take_photo "p" eaf-camera-keybinding)
|
|
;; (eaf-bind-key nil "M-q" eaf-browser-keybinding)
|
|
)
|
|
|
|
|
|
|
|
|
|
(provide 'init-eaf)
|