Expand region to word by default.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Tue, 31 Oct 2017 10:58:29 +0200
changeset 1546 4939c41ef080
parent 1545 d77b6bb30ea4
child 1547 a4e4e54c257a
Expand region to word by default.
.emacs-my
--- a/.emacs-my	Wed Oct 25 23:57:43 2017 +0300
+++ b/.emacs-my	Tue Oct 31 10:58:29 2017 +0200
@@ -894,6 +894,8 @@
 (when (fboundp 'er/expand-region)
   (global-set-key (kbd "C-=") 'er/expand-region))
 
+(setq-default er/try-expand-list '(er/mark-word er/mark-symbol er/mark-inside-quotes er/mark-outside-quotes er/mark-inside-pairs er/mark-outside-pairs))
+
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 (message "highlighting current line")