From f2a5794494de4bf1b018c6c540365bad40b0dafb Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Sat, 22 Dec 2018 14:28:01 -0500 Subject: [PATCH] [emacs] Assimilate (the awesome) expand-region 0.11.0-18-ged32924 --- .gitmodules | 3 +++ init.org | 12 ++++++++++-- lib/expand-region | 1 + 3 files changed, 14 insertions(+), 2 deletions(-) create mode 160000 lib/expand-region diff --git a/.gitmodules b/.gitmodules index b484d5a..0d78b1b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -83,6 +83,9 @@ [submodule "exec-path-from-shell"] path = lib/exec-path-from-shell url = git@github.com:purcell/exec-path-from-shell.git +[submodule "expand-region"] + path = lib/expand-region + url = git@github.com:magnars/expand-region.el.git [submodule "f"] path = lib/f url = git@github.com:rejeep/f.el.git diff --git a/init.org b/init.org index 7f66c99..3ae9946 100644 --- a/init.org +++ b/init.org @@ -911,8 +911,9 @@ There's no way I could top that, so I won't attempt to. #+begin_src emacs-lisp (use-package swiper - :bind (("C-s" . swiper) - ("C-r" . swiper))) + :bind (("C-s" . swiper) + ("C-r" . swiper) + ("C-S-s" . isearch-forward))) #+end_src **** Counsel @@ -1989,6 +1990,13 @@ Hopefully temporary. (global-page-break-lines-mode)) #+end_src +** expand-region + +#+begin_src emacs-lisp +(use-package expand-region + :bind ("C-=" . er/expand-region)) +#+end_src + * Email #+begin_src emacs-lisp diff --git a/lib/expand-region b/lib/expand-region new file mode 160000 index 0000000..ed32924 --- /dev/null +++ b/lib/expand-region @@ -0,0 +1 @@ +Subproject commit ed3292473035dc8f3d2f321e82974ef87327808f -- 2.20.1