+xwidget configuration
Bindings mostly, with a nice long description.
This commit is contained in:
@@ -258,6 +258,41 @@ on setups for specific modes I think benefit from it.
|
|||||||
(use-package evil-collection
|
(use-package evil-collection
|
||||||
:after evil)
|
:after evil)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
* Xwidget
|
||||||
|
Xwidget is a package (that must be compiled at source) which allows
|
||||||
|
for the insertion of arbitrary xwidgets into Emacs through
|
||||||
|
buffers. One of its premier uses is in navigating the web which it
|
||||||
|
provides through the function =xwidget-webkit-browse-url=. This
|
||||||
|
renders a fully functional web browser within Emacs.
|
||||||
|
|
||||||
|
Though I am not to keen on using Emacs to browse the web /via/ xwidget
|
||||||
|
(EWW does a good job on its own), I am very interested in its
|
||||||
|
capability to render full fledged HTML documents, as it may come of
|
||||||
|
use when doing web development. I can see the results of work very
|
||||||
|
quickly without switching windows or workspaces.
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package xwidget
|
||||||
|
:straight nil
|
||||||
|
:general
|
||||||
|
(leader "au" #'xwidget-webkit-browse-url)
|
||||||
|
(general-def
|
||||||
|
:states 'normal
|
||||||
|
:keymaps 'xwidget-webkit-mode-map
|
||||||
|
"q" #'quit-window
|
||||||
|
"h" #'xwidget-webkit-scroll-backward
|
||||||
|
"j" #'xwidget-webkit-scroll-up
|
||||||
|
"k" #'xwidget-webkit-scroll-down
|
||||||
|
"l" #'xwidget-webkit-scroll-forward
|
||||||
|
(kbd "C-f") #'xwidget-webkit-scroll-up
|
||||||
|
(kbd "C-b") #'xwidget-webkit-scroll-down
|
||||||
|
"H" #'xwidget-webkit-back
|
||||||
|
"L" #'xwidget-webkit-forward
|
||||||
|
"gu" #'xwidget-webkit-browse-url
|
||||||
|
"gr" #'xwidget-webkit-reload
|
||||||
|
"gg" #'xwidget-webkit-scroll-top
|
||||||
|
"G" #'xwidget-webkit-scroll-bottom))
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
* Ivy
|
* Ivy
|
||||||
Ivy is a completion framework for Emacs, and my preferred (sometimes
|
Ivy is a completion framework for Emacs, and my preferred (sometimes
|
||||||
second favourite) one. It has a great set of features with little to
|
second favourite) one. It has a great set of features with little to
|
||||||
|
|||||||
Reference in New Issue
Block a user