Add Expand Region keybinding

This commit is contained in:
Tom Willemse 2017-12-31 01:03:35 -08:00
parent feaab104ec
commit 3de2979151

View file

@ -204,6 +204,15 @@ Computing Environment".
(add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode)) (add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode))
#+END_SRC #+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 * Typographic style
Emacs being a text editor has options on how to handle your text. Emacs being a text editor has options on how to handle your text.