diff --git a/keybindings.el b/keybindings.el index 4093a55..90b7a20 100644 --- a/keybindings.el +++ b/keybindings.el @@ -31,6 +31,11 @@ ;; Duplicate line (via helpers.el) (global-set-key (kbd "C-x C-d") 'duplicate-current-line-or-region) +;; Expand region +(when (require 'expand-region nil 'noerror) + (global-set-key (kbd "M-.") 'er/expand-region) + (global-set-key (kbd "M-,") 'er/contract-region)) + ;; Window switching (via helpers.el). (global-set-key (kbd "C-x i") 'other-window-reverse) (global-set-key (kbd "C-x C-o") 'other-window) diff --git a/packages.el b/packages.el index 79640a5..543fb4f 100644 --- a/packages.el +++ b/packages.el @@ -36,6 +36,7 @@ dash-at-point dired+ ecb + expand-region feature-mode fill-column-indicator flymake-coffee