diff options
author | Case Duckworth | 2021-08-09 23:41:26 -0500 |
---|---|---|
committer | Case Duckworth | 2021-08-09 23:41:26 -0500 |
commit | bdf3994e690674b79388c9549b9d8168bb433499 (patch) | |
tree | a97f8915957afa650bd5f50c7d89a45746cee681 | |
parent | Further configure embark (diff) | |
download | emacs-bdf3994e690674b79388c9549b9d8168bb433499.tar.gz emacs-bdf3994e690674b79388c9549b9d8168bb433499.zip |
Ad which-key config to embark
-rw-r--r-- | init.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/init.el b/init.el index 68d5460..70d1677 100644 --- a/init.el +++ b/init.el | |||
@@ -1016,6 +1016,12 @@ if ripgrep is installed, otherwise `consult-grep'." | |||
1016 | '(display-buffer-at-bottom | 1016 | '(display-buffer-at-bottom |
1017 | (window-height . fit-window-to-buffer))) | 1017 | (window-height . fit-window-to-buffer))) |
1018 | 1018 | ||
1019 | (setq embark-action-indicator | ||
1020 | (lambda (map _target) | ||
1021 | (which-key--show-keymap "Embark" map nil nil 'no-paging) | ||
1022 | #'which-key--hide-popup-ignore-command) | ||
1023 | embark-become-indicator embark-action-indicator) | ||
1024 | |||
1019 | (with-eval-after-load 'embark | 1025 | (with-eval-after-load 'embark |
1020 | (with-eval-after-load 'consult | 1026 | (with-eval-after-load 'consult |
1021 | (setup (:straight embark-consult) | 1027 | (setup (:straight embark-consult) |