Replace link-hint with ace-link, enable goto-address-mode
This commit is contained in:
parent
45e8cf7bbf
commit
fb6cad4142
21
init.el
21
init.el
|
@ -950,16 +950,23 @@
|
|||
:map comint-mode-map
|
||||
("<remap> <comint-history-isearch-backward-regexp>" . consult-history)))
|
||||
|
||||
(use-package goto-addr
|
||||
:hook ((text-mode . goto-address-mode)
|
||||
(prog-mode . goto-address-prog-mode)))
|
||||
|
||||
(use-package avy
|
||||
:if (package-installed-p 'avy)
|
||||
:bind (("<remap> <goto-char>" . avy-goto-char)
|
||||
("<remap> <goto-line>" . avy-goto-line)
|
||||
("M-g w" . ave-goto-word)))
|
||||
:bind (("<remap> <goto-char>" . avy-goto-char)))
|
||||
|
||||
(use-package link-hint
|
||||
:if (package-installed-p 'link-hint)
|
||||
:bind (("M-g l o" . link-hint-open-link)
|
||||
("M-g l c" . link-hint-copy-link)))
|
||||
(use-package ace-link
|
||||
:if (package-installed-p 'ace-link)
|
||||
:after goto-addr
|
||||
:functions (ace-link-setup-default)
|
||||
:bind (("M-o" . ace-link-addr))
|
||||
:init
|
||||
(require 'avy)
|
||||
:config
|
||||
(ace-link-setup-default))
|
||||
|
||||
(use-package tempel
|
||||
:if (package-installed-p 'tempel)
|
||||
|
|
Loading…
Reference in a new issue