aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-03-20 10:50:42 +0800
committerGuangxiong Lin <[email protected]>2022-03-20 10:50:42 +0800
commitb681bb8af663dca121f4536b4997fac68536c1a6 (patch)
tree47b5ef6275106dd15d5615e5ebe44ed5fb5422b2 /.emacs.d
parentf04359f2ea968ba93faa808961ad15220bbc4640 (diff)
downloaddotfiles-b681bb8af663dca121f4536b4997fac68536c1a6.tar.gz
dotfiles-b681bb8af663dca121f4536b4997fac68536c1a6.tar.bz2
dotfiles-b681bb8af663dca121f4536b4997fac68536c1a6.zip
Use C-r in insert mode (emacs)
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/lisp/init-evil.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-evil.el b/.emacs.d/lisp/init-evil.el
index 1ddd98f..03849ba 100644
--- a/.emacs.d/lisp/init-evil.el
+++ b/.emacs.d/lisp/init-evil.el
@@ -12,6 +12,7 @@
(evil-set-leader 'normal ",")
(evil-set-undo-system 'undo-tree)
(evil-define-key 'insert 'global
+ (kbd "C-r") 'evil-paste-from-register
(kbd "C-【") 'evil-normal-state)
(evil-define-key 'normal 'global
(kbd "gj") 'evil-next-visual-line