1
0
Fork 0

[oni-core] Change the vertico keybindings to be a bit more ivy-like

This commit is contained in:
Tom Willemse 2023-08-06 00:15:26 -07:00
parent d934aef413
commit 867ec0200b

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; 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)
;; This program is free software; you can redistribute it and/or modify
@ -379,6 +379,10 @@ _s_: String list"
(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
(define-key minibuffer-local-map (kbd "M-A") 'marginalia-cycle)