diff options
Diffstat (limited to 'custom/jao-custom-completion.el')
| -rw-r--r-- | custom/jao-custom-completion.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/custom/jao-custom-completion.el b/custom/jao-custom-completion.el index 490fd65..3076c3a 100644 --- a/custom/jao-custom-completion.el +++ b/custom/jao-custom-completion.el @@ -1,5 +1,7 @@ ;; -*- lexical-binding: t; -*- +(require 'jao-r2e) + ;;; builtin completion (setq tab-always-indent 'complete read-extended-command-predicate #'command-completion-default-include-p @@ -87,7 +89,7 @@ (funcall fun lines) (move-overlay vertico--candidates-ov (point-min) (point-min)) (overlay-put vertico--candidates-ov 'after-string (apply #'concat lines)) - (vertico--resize))) + (vertico--resize-window (length lines)))) (advice-add 'vertico--display-candidates :around #'jao-vertico--display)) @@ -308,7 +310,7 @@ (define-key embark-url-map (kbd "RET") #'jao-embark-url) (define-key embark-url-map (kbd "f") #'browse-url-firefox) -(define-key embark-url-map (kbd "x") #'jao-rss-subscribe) +(define-key embark-url-map (kbd "x") #'jao-r2e-subscribe) (define-key embark-url-map (kbd "m") 'jao-browse-with-external-browser) (define-key embark-url-map (kbd "p") 'jao-mpc-add-or-play-url) @@ -373,8 +375,7 @@ (embark-act))) (add-to-list 'avy-dispatch-alist '(?\; . avy-embark-act)) - :bind (("s-j" . avy-goto-char-timer) - ("C-M-j" . avy-goto-char-timer))) + :bind (("C-M-j" . avy-goto-char-timer))) ;;; link-hint (use-package link-hint |
