From 1fd16afc0a72c545fe4e79f00a391d047d1cb04f Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Tue, 22 Feb 2022 00:22:23 +0800 Subject: Update general keybinds in emacs --- .emacs.d/lisp/init-evil.el | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to '.emacs.d/lisp/init-evil.el') diff --git a/.emacs.d/lisp/init-evil.el b/.emacs.d/lisp/init-evil.el index 6e4a95c..8181db7 100644 --- a/.emacs.d/lisp/init-evil.el +++ b/.emacs.d/lisp/init-evil.el @@ -10,7 +10,11 @@ evil-disable-insert-state-bindings t) :config (evil-set-leader 'normal ",") - (evil-set-undo-system 'undo-tree)) + (evil-set-undo-system 'undo-tree) + (evil-define-key 'normal 'global + (kbd "fc") 'execute-extended-command) + (evil-define-key 'insert 'global + (kbd "C-【") 'evil-normal-state)) (use-package evil-collection :after evil -- cgit v1.2.3