From c0993c8c548fc61bc9ec2b8e0e1f5e603cfffd6b Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 16 Mar 2020 01:01:20 +0000 Subject: [PATCH] feat(xwidgets): Add xwidget-plus package --- core/siren-core-modules.el | 5 ++++- modules/xwidgets/siren-xwidget-plus.el | 25 +++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 modules/xwidgets/siren-xwidget-plus.el diff --git a/core/siren-core-modules.el b/core/siren-core-modules.el index 273d02c..6527416 100644 --- a/core/siren-core-modules.el +++ b/core/siren-core-modules.el @@ -127,9 +127,12 @@ (require 'siren-helm-make) (require 'siren-kubernetes) -;; ;; Writing +;; Writing (require 'siren-writeroom) +;; XWidgets +(require 'siren-xwidget-plus) + ;; Languages (require 'siren-prog-mode) (require 'siren-applescript) diff --git a/modules/xwidgets/siren-xwidget-plus.el b/modules/xwidgets/siren-xwidget-plus.el new file mode 100644 index 0000000..30da959 --- /dev/null +++ b/modules/xwidgets/siren-xwidget-plus.el @@ -0,0 +1,25 @@ +;;; siren-xwidget-plus.el --- jimeh's Emacs Siren: xwidget-plus configuration. + +;;; Commentary: + +;; Basic configuration for xwidget-plus. + +;;; Code: + +(require 'siren-ido) + +(use-package xwidget-plus + :straight (:type git :host github :repo "canatella/xwidget-plus") + + :hook + (xwidget-webkit-mode . siren-xwidget-plus-setup) + + :custom + (xwidget-plus-completion-backend 'ido) + + :init + (defun siren-xwidget-plus-setup () + (define-key xwidget-webkit-mode-map (kbd "v") 'xwidget-plus-follow-link))) + +(provide 'siren-xwidget-plus) +;;; siren-xwidget-plus.el ends here