diff options
| author | 2025-10-21 17:34:28 +0300 | |
|---|---|---|
| committer | 2025-10-21 17:34:28 +0300 | |
| commit | 8653d5c5604cb92244ae3e33d5c7f00b911a9ac0 (patch) | |
| tree | c87933573ee543bdf265879e28664981d0afd74f | |
| parent | emacs: Add helpful (diff) | |
| download | dotfiles-8653d5c5604cb92244ae3e33d5c7f00b911a9ac0.tar.gz dotfiles-8653d5c5604cb92244ae3e33d5c7f00b911a9ac0.tar.xz dotfiles-8653d5c5604cb92244ae3e33d5c7f00b911a9ac0.zip | |
emacs: Some loading order fixes for amx, counsel, helpful
| -rw-r--r-- | emacs/.config/emacs/init.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/emacs/.config/emacs/init.el b/emacs/.config/emacs/init.el index f90f792..d5967bc 100644 --- a/emacs/.config/emacs/init.el +++ b/emacs/.config/emacs/init.el | |||
| @@ -233,6 +233,11 @@ | |||
| 233 | 233 | ||
| 234 | (use-package amx | 234 | (use-package amx |
| 235 | :straight t | 235 | :straight t |
| 236 | :after counsel | ||
| 237 | :demand t | ||
| 238 | :bind (("M-x" . amx) | ||
| 239 | ([remap execute-extended-command] . amx)) | ||
| 240 | :custom ((amx-backend 'ivy)) | ||
| 236 | :config | 241 | :config |
| 237 | (amx-mode +1)) | 242 | (amx-mode +1)) |
| 238 | 243 | ||
| @@ -269,7 +274,7 @@ | |||
| 269 | 274 | ||
| 270 | (use-package counsel | 275 | (use-package counsel |
| 271 | :straight t | 276 | :straight t |
| 272 | :after (amx helpful) | 277 | :demand t |
| 273 | :bind (("C-h f" . counsel-describe-function) | 278 | :bind (("C-h f" . counsel-describe-function) |
| 274 | ("C-h v" . counsel-describe-variable) | 279 | ("C-h v" . counsel-describe-variable) |
| 275 | ([remap describe-function] . counsel-describe-function) | 280 | ([remap describe-function] . counsel-describe-function) |
| @@ -338,6 +343,7 @@ | |||
| 338 | 343 | ||
| 339 | (use-package helpful | 344 | (use-package helpful |
| 340 | :straight t | 345 | :straight t |
| 346 | :commands (helpful-callable helpful-variable) | ||
| 341 | :bind (("C-c C-d" . helpful-at-point) | 347 | :bind (("C-c C-d" . helpful-at-point) |
| 342 | ("C-h k" . helpful-key) | 348 | ("C-h k" . helpful-key) |
| 343 | ("C-h o" . helpful-symbol) | 349 | ("C-h o" . helpful-symbol) |