The Lambda Lab
/
projects
/
elpher.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66c1d16
)
Use motion state for elpher buffer (Evil).
author
Tim Vaughan
<tgvaughan@gmail.com>
Mon, 3 Jun 2019 15:26:16 +0000
(17:26 +0200)
committer
Tim Vaughan
<tgvaughan@gmail.com>
Mon, 3 Jun 2019 15:26:16 +0000
(17:26 +0200)
elpher.el
patch
|
blob
|
history
diff --git
a/elpher.el
b/elpher.el
index
6e7a365
..
6b69dab
100644
(file)
--- a/
elpher.el
+++ b/
elpher.el
@@
-728,7
+728,8
@@
The result is stored as a string in the variable ‘elpher-selector-string’."
(define-key map (kbd "d") 'elpher-download)
(define-key map (kbd "m") 'elpher-menu)
(when (fboundp 'evil-define-key)
- (evil-define-key 'normal map
+ (add-to-list 'evil-motion-state-modes 'elpher-mode)
+ (evil-define-key 'motion map
(kbd "TAB") 'elpher-next-link
(kbd "C-]") 'elpher-follow-current-link
(kbd "C-t") 'elpher-back