From 6a7bccb88f2b2a84823e27666d85250178008fef Mon Sep 17 00:00:00 2001 From: Zedhugh Chen Date: Fri, 21 Oct 2022 00:46:00 +0800 Subject: [PATCH] add expand-region --- .gitmodules | 3 +++ lisp/init-tools.el | 5 +++++ site-lisp/expand-region | 1 + 3 files changed, 9 insertions(+) create mode 160000 site-lisp/expand-region diff --git a/.gitmodules b/.gitmodules index 5f7a008..a2a84ce 100644 --- a/.gitmodules +++ b/.gitmodules @@ -73,3 +73,6 @@ [submodule "site-lisp/emacs-rime"] path = site-lisp/emacs-rime url = https://github.com/DogLooksGood/emacs-rime.git +[submodule "site-lisp/expand-region"] + path = site-lisp/expand-region + url = https://github.com/magnars/expand-region.el.git diff --git a/lisp/init-tools.el b/lisp/init-tools.el index f422d04..f1bfbcb 100644 --- a/lisp/init-tools.el +++ b/lisp/init-tools.el @@ -65,4 +65,9 @@ rime-active-mode-map) +(lazy-load-local-keys + '(("v" . er/expand-region)) + creature/map "expand-region") + + (provide 'init-tools) diff --git a/site-lisp/expand-region b/site-lisp/expand-region new file mode 160000 index 0000000..c5c4362 --- /dev/null +++ b/site-lisp/expand-region @@ -0,0 +1 @@ +Subproject commit c5c4362741deebb0985a8a29f9b8b0e25160764a