From 5703363e14c6af33df5cf2649455075fe6f2ee01 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Tue, 29 Oct 2013 08:54:55 +0000 Subject: [PATCH] Add expand-region package --- keybindings.el | 5 +++++ packages.el | 1 + 2 files changed, 6 insertions(+) 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