From ba41a4c889aed180ab76351b15274138e35aa5ef Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 24 Nov 2022 21:59:53 -0800 Subject: feat(wpcarro/emacs): Support C-u, C-k KBDs in ivy I'd like my vterm (insert), evil ex map (insert), ivy mode maps to share the common readline KBDs. Change-Id: I104c3328f28549cc436b02f08411f114277c851b Reviewed-on: https://cl.tvl.fyi/c/depot/+/7384 Reviewed-by: wpcarro Tested-by: BuildkiteCI --- users/wpcarro/emacs/.emacs.d/wpc/keybindings.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el b/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el index ebd6f2fe5615..17e0e08eccd7 100644 --- a/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el +++ b/users/wpcarro/emacs/.emacs.d/wpc/keybindings.el @@ -456,6 +456,8 @@ ;; restore the ability to paste in ivy (general-define-key :keymaps '(ivy-minibuffer-map) + "C-k" #'kill-line + "C-u" (lambda () (interactive) (kill-line 0)) "C-v" #'clipboard-yank "C-S-v" #'clipboard-yank) -- cgit 1.4.1