summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-05-25 23:50:11 +0200
committerGravatar Tom Willemse2014-05-25 23:50:11 +0200
commit603563d5e9e6368a0a1a178aab4228266a7868b0 (patch)
treeabf681a6791cafad73f7e7b71203f1c2c1fc01b6
parent92a23e7859936aad18d2dd2a947dc53710db0309 (diff)
downloademacs-603563d5e9e6368a0a1a178aab4228266a7868b0.tar.gz
emacs-603563d5e9e6368a0a1a178aab4228266a7868b0.zip
Add eww-lnum package
-rw-r--r--.emacs.d/Cask1
-rw-r--r--.emacs.d/init.org12
2 files changed, 13 insertions, 0 deletions
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