dotfiles/emacs/.emacs.d/config/init-navigation.el

19 lines
649 B
EmacsLisp
Raw Normal View History

2024-07-20 03:43:47 +00:00
;; 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)
2024-07-20 03:43:47 +00:00
: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)