Add keybinding setup for ace-link in eww mode
Configured ace-link keybinding for eww mode to ensure it works correctly by defining it within a setup function and adding a hook for eww-mode.
This commit is contained in:
parent
82bd3725a2
commit
f4ff08e0ba
@ -1,6 +1,11 @@
|
|||||||
;; lexical-binding: t; -*-
|
;; lexical-binding: t; -*-
|
||||||
|
|
||||||
(use-package ace-link
|
(use-package ace-link
|
||||||
|
:init
|
||||||
|
(defun ace-link-eww-setup ()
|
||||||
|
;; For some reason this keybinding wasn't working unless it's set here
|
||||||
|
(evil-define-key 'normal eww-mode-map "o" #'ace-link-eww))
|
||||||
|
(add-hook 'eww-mode-hook #'ace-link-eww-setup)
|
||||||
:general
|
:general
|
||||||
(normal Info-mode-map "o" #'ace-link-info)
|
(normal Info-mode-map "o" #'ace-link-info)
|
||||||
(normal help-mode-map "o" #'ace-link-help)
|
(normal help-mode-map "o" #'ace-link-help)
|
||||||
|
Loading…
Reference in New Issue
Block a user