diff options
| author | Devin Jacobs <dbuttonz@gmail.com> | 2019-11-14 22:29:11 -0700 |
|---|---|---|
| committer | Pierre Neidhardt <mail@ambrevar.xyz> | 2019-11-15 21:08:52 +0100 |
| commit | e5c599c35b42cfc0daa18afa3da02f7ab39b66e6 (patch) | |
| tree | 5062c3e703d036a1eacb6ac6f9e25026722d65ed /modes/info | |
| parent | 631622aec03974149bed6e9604ffcb4f103917c5 (diff) | |
Improve Info-mode searching
Diffstat (limited to 'modes/info')
| -rw-r--r-- | modes/info/evil-collection-info.el | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/modes/info/evil-collection-info.el b/modes/info/evil-collection-info.el index d0f981b..12e8187 100644 --- a/modes/info/evil-collection-info.el +++ b/modes/info/evil-collection-info.el @@ -70,14 +70,9 @@ ;; TODO: Restore digit arguments? Use g[n] instead. - ;; TODO: Should search with "n"/"N" cover the full manual like "C-s"/"C-r" does? - ;; TODO: Directions? - "n" (if (evil-collection-evil-search-enabled) - evil-collection-evil-search-next - 'isearch-repeat-forward) - "N" (if (evil-collection-evil-search-enabled) - evil-collection-evil-search-previous - 'isearch-repeat-backward) + ;; NOTE: We do NOT search the entire buffer, only the narrowed buffer. + "n" evil-collection-evil-search-next + "N" evil-collection-evil-search-previous ;; goto "gd" 'Info-goto-node ; TODO: "gd" does not match the rationale of "go to definition". Change? @@ -97,7 +92,7 @@ "gk" 'Info-prev "g?" 'Info-summary - "?" 'evil-ex-search-backward ; Else this would be `Info-summary'. + "?" evil-collection-evil-search-backward ; Else this would be `Info-summary'. ;; quit "q" 'Info-exit |
