From 0fcb2d02cabe85ce777ea6132cd84797aec024ce Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Mon, 11 Apr 2022 00:46:44 +0200 Subject: [PATCH] Add a vertico keybinding to replace helm's C-l --- config.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config.el b/config.el index feaeb52..6affaef 100644 --- a/config.el +++ b/config.el @@ -159,6 +159,13 @@ ;; 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))) +;; 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. (after! vterm (setq vterm-shell "/bin/zsh"