Install ace-link for quick link jumps
This commit is contained in:
parent
a3a7b8d464
commit
705b2f92d7
2 changed files with 10 additions and 6 deletions
|
@ -1019,14 +1019,13 @@ Web pages look pretty good with EWW, but I'm having difficulty getting it to ren
|
|||
:config
|
||||
(define-key eww-mode-map (kbd "L") #'eww-list-bookmarks)
|
||||
(define-key eww-buffers-mode-map (kbd "q") #'eww-bookmark-kill)
|
||||
(define-key eww-bookmark-mode-map (kbd "q") #'eww-bookmark-kill)
|
||||
|
||||
(define-key eww-bookmark-mode-map (kbd "q") #'eww-bookmark-kill))
|
||||
#+END_SRC
|
||||
And let's get [[https://github.com/abo-abo/ace-link][ace-link]] to work with EWW and Info pages:
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package ace-link
|
||||
:config
|
||||
(ace-link-setup-default)))
|
||||
#+END_SRC
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
:config
|
||||
(ace-link-setup-default))
|
||||
#+END_SRC
|
||||
** VTerm
|
||||
|
||||
|
|
|
@ -285,7 +285,8 @@ Bindings specific to org files:
|
|||
(general-evil-define-key 'normal org-mode-map
|
||||
:prefix "SPC m"
|
||||
"e" '("exports" . org-export-dispatch)
|
||||
"y" '("insert link" . org-insert-link)
|
||||
"l" '("insert link" . org-insert-link)
|
||||
"o" '("goto link" . ace-link-org)
|
||||
|
||||
"n" '(:ignore t :which-key "narrow")
|
||||
"n s" '("subtree" . org-narrow-to-subtree)
|
||||
|
@ -293,6 +294,10 @@ Bindings specific to org files:
|
|||
"n e" '("element" . org-narrow-to-element)
|
||||
"n w" '("widen" . widen))
|
||||
#+END_SRC
|
||||
Oh, and we'll use [[https://github.com/abo-abo/ace-link][ace-link]] for quickly jumping:
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(define-key org-mode-map (kbd "M-o") 'ace-link-org)
|
||||
#+END_SRC
|
||||
* Supporting Packages
|
||||
At this point, we assume that the =use-package= for org is complete, so we can close it and allow other projects to be loaded:
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
|
Loading…
Reference in a new issue