eww-layer icon indicating copy to clipboard operation
eww-layer copied to clipboard

A spacemacs layer for eww-mode.

#+TITLE: eww layer

The maximum height of the logo should be 200 pixels.

[[file:img/eww.png]]

TOC links should be GitHub style anchors.

  • Table of Contents :TOC_4_gh:noexport:
  • [[#description][Description]]
  • [[#install][Install]]
  • [[#key-bindings][Key bindings]]
    • [[#eww][Eww]]
    • [[#eww-history][Eww History]]
    • [[#eww-bookmarks][Eww Bookmarks]]
    • [[#eww-buffers][Eww Buffers]]
  • Description This layer does wonderful things:

    • Adds evil keybindings support to eww-mode (including eww-buffers/bookmarks/history-mode)
    • Adds spacemacs functionality to eww-mode
    • Adds ability to easily navigate eww buffers
  • Install

    Because this layer is not officially apart of spacemacs, first clone the git repository somewhere and add it as a private layer in spacemacs:

    #+BEGIN_SRC bash git clone https://github.com/coljamkop/eww-layer.git /path/to/dotspacemacs-configuration-layer-path/eww #+END_SRC

    OR

    #+BEGIN_SRC bash git clone https://github.com/coljamkop/eww-layer.git ln -s "pwd/eww-layer" ~/.emacs.d/private/eww #+END_SRC

    To use this configuration layer, add it to your =~/.spacemacs=. You will need to add =eww= to the existing =dotspacemacs-configuration-layers= list in this file.

  • Key bindings ** Eww | Key Binding | Description | Function | |-------------+--------------------------+----------------------------------| | ~SPC m s~ | Search | helm-google-suggest | | ~SPC m S~ | Search (alt) | browse-web | | ~SPC m r~ | Reload | eww-reload | | ~SPC m p~ | Previous URL | eww-previous-url | | ~SPC m n~ | Next URL | eww-next-url | | ~SPC m h~ | History | eww-list-histories | | ~SPC m d~ | Download | eww-download | | ~SPC m a~ | Add Bookmark | eww-add-bookmark | | ~SPC m l o~ | List Bookmarks | eww-list-bookmarks | | ~SPC m l b~ | List Eww Buffers | eww-list-buffers | | ~SPC m v x~ | View in External Browser | eww-browse-with-external-browser | | ~SPC m v f~ | Toggle Fancy Fonts | eww-toggle-fonts | | ~SPC m v r~ | Reader View | eww-readable | | ~H~ | Previous URL | eww-previous-url | | ~L~ | Next URL | eww-next-url | | ~J~ | Next Eww Buffer | eww-jump-next-buffer | | ~K~ | Previous Eww Buffer | eww-jump-previous-buffer | | ~C-j~ | Next Link | shr-next-link | | ~C-k~ | Previous Link | shr-previous-link | | ~f~ | Follow Link | eww-follow-link | | ~F~ | Follow Link New Buffer | eww-follow-link | | ~o~ | Follow Link (avy/ace) | eww-follow-link | ** Eww History | ~SPC m f~ | Open History | eww-history-browse | | ~f~ | Open History | eww-history-browse | ** Eww Bookmarks | ~SPC m f~ | Open Bookmark | eww-bookmark-browse | | ~SPC m d~ | Delete Bookmark | eww-bookmark-kill | | ~SPC m y~ | Yank Bookmark | eww-yank-bookmark | | ~f~ | Open Bookmark | eww-bookmark-browse | | ~d~ | Delete Bookmark | eww-bookmark-kill | | ~y~ | Yank Bookmark | eww-yank-bookmark | ** Eww Buffers | ~SPC m f~ | Open Buffer | eww-buffer-select | | ~SPC m d~ | Delete Buffer | eww-buffer-kill | | ~SPC m n~ | Next Buffer | eww-buffer-show-next | | ~SPC m p~ | Previous Buffer | eww-buffer-show-previous | | ~f~ | Open Buffer | eww-buffer-select | | ~d~ | Delete Buffer | eww-buffer-kill | | ~n~ | Next Buffer | eww-buffer-show-next | | ~p~ | Previous Buffer | eww-buffer-show-previous |

    Use GitHub URLs if you wish to link a Spacemacs documentation file or its heading.

    Examples:

    [[https://github.com/syl20bnr/spacemacs/blob/master/doc/VIMUSERS.org#sessions]]

    [[https://github.com/syl20bnr/spacemacs/blob/master/layers/%2Bfun/emoji/README.org][Link to Emoji layer README.org]]

    If space-doc-mode is enabled, Spacemacs will open a local copy of the linked file.