From 603563d5e9e6368a0a1a178aab4228266a7868b0 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Sun, 25 May 2014 23:50:11 +0200 Subject: Add eww-lnum package --- .emacs.d/Cask | 1 + .emacs.d/init.org | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/.emacs.d/Cask b/.emacs.d/Cask index 783fc03..d3f1a17 100644 --- a/.emacs.d/Cask +++ b/.emacs.d/Cask @@ -25,6 +25,7 @@ (depends-on "emms") (depends-on "eshell-fringe-status") (depends-on "esxml") +(depends-on "eww-lnum") (depends-on "expand-region") (depends-on "fill-column-indicator") (depends-on "fiplr") diff --git a/.emacs.d/init.org b/.emacs.d/init.org index 1ef95e4..7834ce2 100644 --- a/.emacs.d/init.org +++ b/.emacs.d/init.org @@ -841,6 +841,18 @@ (setq geiser-default-implementation 'guile)) #+END_SRC +* Setup eww-lnum + + As recommended in the [[https://github.com/m00natic/eww-lnum][README]], set the keys in the =eww-mode-map=. + + #+BEGIN_SRC emacs-lisp + (defvar eww-mode-map) + + (with-eval-after-load 'eww + (define-key eww-mode-map "f" 'eww-lnum-follow) + (define-key eww-mode-map "F" 'eww-lnum-universal)) + #+END_SRC + * Load custom file I don't really use the Emacs customization interface much, but I -- cgit v1.2.3-54-g00ecf