From 08c0c7145313121925a5b59ad4e2a79a47deef1d Mon Sep 17 00:00:00 2001 From: saucoide <32314353+saucoide@users.noreply.github.com> Date: Wed, 24 Jan 2024 16:52:16 +0100 Subject: [PATCH] change key definition to normal state --- kubel-evil.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kubel-evil.el b/kubel-evil.el index f464547..39bed3b 100644 --- a/kubel-evil.el +++ b/kubel-evil.el @@ -105,9 +105,9 @@ ("c" "Copy to clipboad..." kubel-copy-popup) ("$" "Show Process buffer" kubel-show-process-buffer)]]) -(evil-set-initial-state 'kubel-mode 'motion) +(evil-set-initial-state 'kubel-mode 'normal) -(evil-define-key 'motion kubel-evil-mode-map +(evil-define-key 'normal kubel-evil-mode-map (kbd "RET") #'kubel-get-resource-details (kbd "K") #'kubel-set-kubectl-config-file (kbd "C") #'kubel-set-context