diff --git a/init.el b/init.el index c0b2481..dadc58c 100644 --- a/init.el +++ b/init.el @@ -113,8 +113,9 @@ (setq subword-backward-regexp "\\(\\(\\W\\|[[:lower:][:digit:]]\\)\\([\\\\[:upper:]]+\\W*\\)\\|\\W\\w+\\)") -(setq default-fill-column 120) -(add-to-list 'load-path "~/tmp" "~/tmp/expand-region.el") +(setq default-fill-column 120) +(add-to-list 'load-path "~/tmp") +(add-to-list 'load-path "~/tmp/expand-region.el") (setq mouse-yank-at-point t) (blink-cursor-mode 0) @@ -194,8 +195,10 @@ the current position of point, then move it to the beginning of the line." (when (eq pt (point)) (beginning-of-line)))) +(require 'expand-region) (global-set-key (kbd "C-a") 'smart-line-beginning) (global-set-key (kbd "M-m") 'iy-go-to-char) +(global-set-key (kbd "C-M-h") 'er/expand-region) (defun emacs-session-filename (session-id) "Construct a filename to save the session in based on SESSION-ID.