Jeremy Dormitzer
f4ff08e0ba
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.
19 lines
649 B
EmacsLisp
19 lines
649 B
EmacsLisp
;; lexical-binding: t; -*-
|
|
|
|
(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
|
|
(normal Info-mode-map "o" #'ace-link-info)
|
|
(normal help-mode-map "o" #'ace-link-help)
|
|
(normal woman-mode-map "o" #'ace-link-woman)
|
|
(normal eww-mode-map "o" #'ace-link-eww)
|
|
(normal compilation-mode-map "o" #'ace-link-compilation)
|
|
(normal custom-mode-map "o" #'ace-link-custom)
|
|
(normal org-mode-map "M-o" #'ace-link-org))
|
|
|
|
(provide 'init-navigation)
|