summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2015-02-01 18:12:19 -0500
committerKyle Meyer <kyle@kyleam.com>2015-02-02 01:27:27 -0500
commit9eb55edf10df005beaef0393f3a03bddf4c116b8 (patch)
tree4bfaf9cb532f39e04be62bd9721af80350df7266 /lisp
parent764ff9a91e62ff0cba80973d24e6601165d9c0df (diff)
downloademacs.d-9eb55edf10df005beaef0393f3a03bddf4c116b8.tar.gz
Install whole-line-or-region
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-diminish.el1
-rw-r--r--lisp/init-editing.el1
2 files changed, 2 insertions, 0 deletions
diff --git a/lisp/init-diminish.el b/lisp/init-diminish.el
index 6c63bad..900d655 100644
--- a/lisp/init-diminish.el
+++ b/lisp/init-diminish.el
@@ -11,6 +11,7 @@
(after 'reftex (diminish 'reftex-mode "Rf"))
(after 'view (diminish 'view-mode "Vw"))
(after 'whitespace (diminish 'global-whitespace-mode))
+(after 'whole-line-or-region (diminish 'whole-line-or-region-mode))
(after 'yasnippet (diminish 'yas-minor-mode))
(provide 'init-diminish)
diff --git a/lisp/init-editing.el b/lisp/init-editing.el
index e6595e6..d8709b4 100644
--- a/lisp/init-editing.el
+++ b/lisp/init-editing.el
@@ -166,6 +166,7 @@ and '<<<' mark the bounds of the narrowed region.
(define-key km/editing-map "i" 'indent-relative)
(electric-indent-mode -1)
+(whole-line-or-region-mode)
;;; Buffer cleanup