[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/minuet e27348ea90 30/97: doc: Use `:bind` instead of ge
From: |
ELPA Syncer |
Subject: |
[elpa] externals/minuet e27348ea90 30/97: doc: Use `:bind` instead of general-define-key for wider accessibility (#7) |
Date: |
Mon, 24 Mar 2025 18:59:13 -0400 (EDT) |
branch: externals/minuet
commit e27348ea903dbbf6051449ee1996767de5a3195f
Merge: 001e9fe417 4ed8a466d5
Author: milanglacier <dev@milanglacier.com>
Commit: GitHub <noreply@github.com>
doc: Use `:bind` instead of general-define-key for wider accessibility (#7)
---
README.md | 29 ++++++++++++-----------------
1 file changed, 12 insertions(+), 17 deletions(-)
diff --git a/README.md b/README.md
index a5a498d87e..8332798902 100644
--- a/README.md
+++ b/README.md
@@ -66,16 +66,19 @@ Currently you need to install from github via `package-vc`
or
(straight-use-package '(minuet :host github :repo "milanglacier/minuet-ai.el"))
(use-package minuet
- :init
- (general-define-key
- ;; use completion-in-region for completion
- "M-y" #'minuet-completion-in-region
- ;; use overlay for completion
- "M-i" #'minuet-show-suggestion)
+ :bind (("M-y" . #'minuet-completion-in-region) ;; use completion-in-region
for completion
+ ("M-i" . #'minuet-show-suggestion) ;; use overlay for completion
+ :map minuet-active-mode-map
+ ("M-p" . #'minuet-previous-suggestion) ;; invoke completion or
cycle to next completion
+ ("M-n" . #'minuet-next-suggestion) ;; invoke completion or cycle to
previous completion
+ ("M-A" . #'minuet-accept-suggestion) ;; accept whole completion
+ ("M-a" . #'minuet-accept-suggestion-line) ;; accept current line
completion
+ ("M-e" . #'minuet-dismiss-suggestion))
- ;; if you want to enable auto suggestion.
- ;; Note that you can manually invoke completions without enable
minuet-auto-suggestion-mode
- (add-hook 'prog-mode-hook #'minuet-auto-suggestion-mode)
+ :init
+ ;; if you want to enable auto suggestion.
+ ;; Note that you can manually invoke completions without enable
minuet-auto-suggestion-mode
+ (add-hook 'prog-mode-hook #'minuet-auto-suggestion-mode)
:config
(setq minuet-provider 'openai-fim-compatible)
@@ -84,14 +87,6 @@ Currently you need to install from github via `package-vc` or
;; Not required when defining minuet-active-mode-map without evil state.
(add-hook 'minuet-active-mode-hook #'evil-normalize-keymaps)
- (general-define-key
- :keymaps 'minuet-active-mode-map
- "M-p" #'minuet-previous-suggestion ;; invoke completion or cycle to next
completion
- "M-n" #'minuet-next-suggestion ;; invoke completion or cycle to previous
completion
- "M-A" #'minuet-accept-suggestion ;; accept whole completion
- "M-a" #'minuet-accept-suggestion-line ;; accept current line completion
- "M-e" #'minuet-dismiss-suggestion)
-
(minuet-set-optional-options minuet-openai-fim-compatible-options
:max_tokens 256))
```
- [elpa] externals/minuet f9c21914bc 43/97: doc: update README., (continued)
- [elpa] externals/minuet f9c21914bc 43/97: doc: update README., ELPA Syncer, 2025/03/24
- [elpa] externals/minuet 1f31be1e30 45/97: refactor: update prompt system for FIM models. (#15), ELPA Syncer, 2025/03/24
- [elpa] externals/minuet 4211e33361 51/97: doc: update README., ELPA Syncer, 2025/03/24
- [elpa] externals/minuet 86998b7482 61/97: fix: don't show "(1/1)" when there is only 1 available suggestion., ELPA Syncer, 2025/03/24
- [elpa] externals/minuet cbc9e5a265 63/97: chore: fix CI warnings., ELPA Syncer, 2025/03/24
- [elpa] externals/minuet fe312696f3 74/97: doc: fix broken link., ELPA Syncer, 2025/03/24
- [elpa] externals/minuet 31e651d639 76/97: feat!: change claude default model to haiku-3.5., ELPA Syncer, 2025/03/24
- [elpa] externals/minuet e0fdc2023b 22/97: chore: pass checkdoc lint., ELPA Syncer, 2025/03/24
- [elpa] externals/minuet 2767e12df9 25/97: chore: remove obsolete function call., ELPA Syncer, 2025/03/24
- [elpa] externals/minuet b46da708c1 28/97: README: Use `:bind` instead of general-define-key for wider support, ELPA Syncer, 2025/03/24
- [elpa] externals/minuet e27348ea90 30/97: doc: Use `:bind` instead of general-define-key for wider accessibility (#7),
ELPA Syncer <=
- [elpa] externals/minuet f4a49dc75d 33/97: chore: fix byte compiler warning., ELPA Syncer, 2025/03/24
- [elpa] externals/minuet 4ed8a466d5 29/97: README: Small indentation fix to match removal of `general-use-key`, ELPA Syncer, 2025/03/24
- [elpa] externals/minuet b92b1f07d9 46/97: feat: add chat input template. (#16), ELPA Syncer, 2025/03/24
- [elpa] externals/minuet 3a342b44b3 52/97: feat: truncate incomplete lines at window boundaries for chat input, ELPA Syncer, 2025/03/24
- [elpa] externals/minuet 58990620fe 48/97: doc: update number of completions recommendation., ELPA Syncer, 2025/03/24
- [elpa] externals/minuet e0fff84721 53/97: fix: ensure symbol-value is only called on symbols in `minuet--eval-value`., ELPA Syncer, 2025/03/24
- [elpa] externals/minuet 126af4dc86 55/97: doc: update instruction for ollama user for choosing FIM models., ELPA Syncer, 2025/03/24
- [elpa] externals/minuet df2478180b 56/97: refactor: improve fim provider error message., ELPA Syncer, 2025/03/24
- [elpa] externals/minuet ab3dd8d06d 60/97: feat: add consult support for `minuet-complete-with-minibuffer`. (#20), ELPA Syncer, 2025/03/24
- [elpa] externals/minuet aa0920b5c9 62/97: docs: add server demand note for deepseek model, ELPA Syncer, 2025/03/24