[oni-core] Change the vertico keybindings to be a bit more ivy-like
This commit is contained in:
parent
d934aef413
commit
867ec0200b
1 changed files with 5 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.001105
|
;; Version: 2023.0806.001504
|
||||||
;; 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
|
||||||
|
@ -379,6 +379,10 @@ _s_: String list"
|
||||||
|
|
||||||
(vertico-mode)
|
(vertico-mode)
|
||||||
|
|
||||||
|
(define-key vertico-map (kbd "<return>") 'vertico-directory-enter)
|
||||||
|
(define-key vertico-map (kbd "<backspace>") 'vertico-directory-delete-char)
|
||||||
|
(define-key vertico-map (kbd "M-<backspace>") 'vertico-directory-delete-word)
|
||||||
|
|
||||||
;;; Marginalia
|
;;; Marginalia
|
||||||
|
|
||||||
(define-key minibuffer-local-map (kbd "M-A") 'marginalia-cycle)
|
(define-key minibuffer-local-map (kbd "M-A") 'marginalia-cycle)
|
||||||
|
|
Loading…
Reference in a new issue