Add a vertico keybinding to replace helm's C-l

This commit is contained in:
Wojciech Kozlowski 2022-04-11 00:46:44 +02:00
parent 924c74fb7a
commit 0fcb2d02ca

View File

@ -159,6 +159,13 @@
;; via ssh. This has to be added last so that it is the first element. ;; via ssh. This has to be added last so that it is the first element.
(add-to-list 'tramp-default-proxies-alist '("localhost" "\\`root\\'" nil))) (add-to-list 'tramp-default-proxies-alist '("localhost" "\\`root\\'" nil)))
;; The only thing I actually missed from helm.
(map! (:when (featurep! :completion vertico)
:map vertico-map
"C-l" (lambda ()
(interactive)
(vertico-directory-delete-word 1))))
;; Extra VTerm configuration. ;; Extra VTerm configuration.
(after! vterm (after! vterm
(setq vterm-shell "/bin/zsh" (setq vterm-shell "/bin/zsh"