aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2017-12-31 01:03:35 -0800
committerGravatar Tom Willemse2017-12-31 01:03:35 -0800
commit3de2979151aa99f7bb58429e23b1d8fc99d4a150 (patch)
treeacdbbddc62db2ad7ca1245ec75fbdded1b919c28 /emacs/.emacs.d/init.org
parentfeaab104ec12712cdd7fa8b6212661e0a777b571 (diff)
downloadnew-dotfiles-3de2979151aa99f7bb58429e23b1d8fc99d4a150.tar.gz
new-dotfiles-3de2979151aa99f7bb58429e23b1d8fc99d4a150.zip
Add Expand Region keybinding
Diffstat (limited to 'emacs/.emacs.d/init.org')
-rw-r--r--emacs/.emacs.d/init.org9
1 files changed, 9 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 74ab5f5..35bf860 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -204,6 +204,15 @@ Computing Environment".
(add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))
#+END_SRC
+** Global Keybindings
+
+ Bind expand-region, which functions a lot like a better
+ ~mark-sexp~.
+
+ #+BEGIN_SRC emacs-lisp
+ (global-set-key (kbd "C-M-SPC") 'er/expand-region)
+ #+END_SRC
+
* Typographic style
Emacs being a text editor has options on how to handle your text.