[oni-core] Only show relevant commands for the current mode
This commit is contained in:
parent
e7acc034ee
commit
d934aef413
1 changed files with 3 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||||
;; Keywords: local
|
;; Keywords: local
|
||||||
;; Version: 2023.0806.000329
|
;; Version: 2023.0806.001105
|
||||||
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview mixed-pitch ace-window vertico marginalia orderless consult embark docstr mini-frame)
|
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview mixed-pitch ace-window vertico marginalia orderless consult embark docstr mini-frame)
|
||||||
|
|
||||||
;; This program is free software; you can redistribute it and/or modify
|
;; This program is free software; you can redistribute it and/or modify
|
||||||
|
@ -373,6 +373,8 @@ _s_: String list"
|
||||||
(setq minibuffer-prompt-properties
|
(setq minibuffer-prompt-properties
|
||||||
(append '(cursor-intangible t) minibuffer-prompt-properties))
|
(append '(cursor-intangible t) minibuffer-prompt-properties))
|
||||||
|
|
||||||
|
(setq read-extended-command-predicate 'command-completion-default-include-p)
|
||||||
|
|
||||||
;;; Vertico
|
;;; Vertico
|
||||||
|
|
||||||
(vertico-mode)
|
(vertico-mode)
|
||||||
|
|
Loading…
Reference in a new issue