Restore old ace bindings and revise documentation changes

This commit is contained in:
Maximilian Wolff 2020-12-29 21:29:50 +01:00
parent db819a6bbd
commit 0333173f18
No known key found for this signature in database
GPG Key ID: 2DD07025BFDBD89A
2 changed files with 8 additions and 8 deletions

View File

@ -2172,11 +2172,11 @@ selecting an avy candidate.
**** ace-link mode
Similar to =avy=, [[https://github.com/abo-abo/ace-link][ace-link]] allows one to jump to any link in
=help-mode= and =info-mode=.
=help-mode=, =woman-mode= and =info-mode=.
| Key binding | Description |
|-------------+-------------------------------------------------------------|
| ~o~ | initiate ace link mode in =help-=, =info-= and =woman-mode= |
| Key binding | Description |
|-------------+-----------------------------------------------------------|
| ~o~ | initiate ace link mode in =help=, =info= and =woman-mode= |
*** Unimpaired bindings
Spacemacs comes with a built-in port of [[https://github.com/tpope/vim-unimpaired][tpope's vim-unimpaired]].

View File

@ -34,14 +34,14 @@
(progn
(define-key spacemacs-buffer-mode-map "o" 'spacemacs/ace-buffer-links)
(with-eval-after-load 'info
(define-key Info-mode-map "o" 'ace-link))
(define-key Info-mode-map "o" 'ace-link-info))
(with-eval-after-load 'help-mode
(define-key help-mode-map "o" 'ace-link))
(define-key help-mode-map "o" 'ace-link-help))
(with-eval-after-load 'woman
(define-key woman-mode-map "o" 'link-hint-open-link))
(with-eval-after-load 'eww
(define-key eww-link-keymap "o" 'ace-link)
(define-key eww-mode-map "o" 'ace-link)))))
(define-key eww-link-keymap "o" 'ace-link-eww)
(define-key eww-mode-map "o" 'ace-link-eww)))))
(defun spacemacs-navigation/init-ace-window ()
(use-package ace-window