From 70599ad053728c48203fa9a29603293163825bb9 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Fri, 19 Jul 2024 23:43:47 -0400 Subject: [PATCH] Add ace-link navigation configuration --- emacs/.emacs.d/config/init-navigation.el | 13 +++++++++++++ emacs/.emacs.d/init.el | 1 + 2 files changed, 14 insertions(+) create mode 100644 emacs/.emacs.d/config/init-navigation.el diff --git a/emacs/.emacs.d/config/init-navigation.el b/emacs/.emacs.d/config/init-navigation.el new file mode 100644 index 0000000..cfbf90a --- /dev/null +++ b/emacs/.emacs.d/config/init-navigation.el @@ -0,0 +1,13 @@ +;; lexical-binding: t; -*- + +(use-package ace-link + :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) diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 7038978..15fe119 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -87,6 +87,7 @@ (require 'init-dired) (require 'init-completion) (require 'init-editing) +(require 'init-navigation) (require 'init-ui) (require 'init-projects) (require 'init-git)