aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-02-22 00:22:23 +0800
committerGuangxiong Lin <[email protected]>2022-02-22 00:22:23 +0800
commit1fd16afc0a72c545fe4e79f00a391d047d1cb04f (patch)
treeb5aa91946bf1812430ce7b50d73f5cbb7c095e23
parent65bed3d83a0086c6871e9ce007622f8d37936424 (diff)
downloaddotfiles-1fd16afc0a72c545fe4e79f00a391d047d1cb04f.tar.gz
dotfiles-1fd16afc0a72c545fe4e79f00a391d047d1cb04f.tar.bz2
dotfiles-1fd16afc0a72c545fe4e79f00a391d047d1cb04f.zip
Update general keybinds in emacs
-rw-r--r--.emacs.d/lisp/init-evil.el6
1 files changed, 5 insertions, 1 deletions
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 "<leader>fc") 'execute-extended-command)
+ (evil-define-key 'insert 'global
+ (kbd "C-【") 'evil-normal-state))
(use-package evil-collection
:after evil