From 3d4bc3e9bb65db320706b35768bf4711c05eea59 Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Mon, 27 Feb 2017 20:04:32 -0800 Subject: [PATCH] :smiling_imp: keymappings --- config/emacs.d/init.el | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/config/emacs.d/init.el b/config/emacs.d/init.el index f7fa89b..aa2ad0c 100644 --- a/config/emacs.d/init.el +++ b/config/emacs.d/init.el @@ -91,7 +91,13 @@ (use-package evil :config (evil-mode t) - (global-set-key (kbd "C-c C-c") 'evil-force-normal-state)) + (define-key evil-normal-state-map "\C-k" 'evil-normal-state) + (define-key evil-insert-state-map "\C-k" 'evil-normal-state) + (define-key evil-visual-state-map "\C-k" 'evil-normal-state) + (define-key evil-replace-state-map "\C-k" 'evil-normal-state) + (define-key evil-insert-state-map "\C-c\C-c" 'evil-normal-state) + (define-key evil-normal-state-map "\C-i" 'evil-scroll-up) + (define-key evil-visual-state-map "\C-i" 'evil-scroll-up)) (use-package evil-leader