about summary refs log tree commit diff
path: root/init-modes.el
diff options
context:
space:
mode:
authorVincent Ambo <vincent@spotify.com>2013-08-05T14·18+0200
committerVincent Ambo <vincent@spotify.com>2013-08-05T14·18+0200
commit2d27485f361614aeb91a850d0c1a10cff9f0e8f9 (patch)
treea0c133ebfa5ed3805e9f1121ab56851a98c62831 /init-modes.el
parentedb2ca67d3d4809af7f164142a318b65e6ecae69 (diff)
* Global undo-tree (again)
* several config things copied from @magnars
Diffstat (limited to 'init-modes.el')
-rw-r--r--init-modes.el12
1 files changed, 10 insertions, 2 deletions
diff --git a/init-modes.el b/init-modes.el
index 3e9cff9996..9c505f3ff2 100644
--- a/init-modes.el
+++ b/init-modes.el
@@ -41,11 +41,19 @@
 ;; Always highlight matching brackets
 (show-paren-mode 1)
 
-;; Undo-Tree at all times!
-(undo-tree-mode)
+;; Represent undo-history as an actual tree (visualize with C-x u)
+(setq undo-tree-mode-lighter "")
+(require 'undo-tree)
+(global-undo-tree-mode)
 
 ;; Keep track of recent files
 (recentf-mode)
 
 ;; Enable Nyan mode
 (nyan-mode 1)
+
+;; Easily navigate sillycased words
+(global-subword-mode 1)
+
+;; Transparently open compressed files
+(auto-compression-mode t)