diff --git a/init.el b/init.el index 82cd58f..f09bc1a 100644 --- a/init.el +++ b/init.el @@ -92,7 +92,8 @@ PACKAGE is installed and the current version is deleted." paredit ; minor mode for editing parentheses powerline ; Rewrite of Powerline pretty-lambdada ; the word `lambda' as the Greek letter. - smex)) ; M-x interface with Ido-style fuzzy matching. + smex ; M-x interface with Ido-style fuzzy matching. + undo-tree)) ; Treat undo history as a tree (upgrade-or-install-package package)) ;; This package is only relevant for Mac OS X. (when (memq window-system '(mac ns)) @@ -173,7 +174,8 @@ PACKAGE is installed and the current version is deleted." column-number-mode ; Show column number in mode line. delete-selection-mode ; Replace selected text. recentf-mode ; Recently opened files. - show-paren-mode)) ; Highlight matching parentheses. + show-paren-mode ; Highlight matching parentheses. + global-undo-tree-mode)) ; Undo as a tree. (funcall mode 1)) (add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode)) diff --git a/init.org b/init.org index b15c074..cce043c 100644 --- a/init.org +++ b/init.org @@ -163,7 +163,8 @@ paredit ; minor mode for editing parentheses powerline ; Rewrite of Powerline pretty-lambdada ; the word `lambda' as the Greek letter. - smex)) ; M-x interface with Ido-style fuzzy matching. + smex ; M-x interface with Ido-style fuzzy matching. + undo-tree)) ; Treat undo history as a tree (upgrade-or-install-package package)) ;; This package is only relevant for Mac OS X. (when (memq window-system '(mac ns)) @@ -326,7 +327,8 @@ column-number-mode ; Show column number in mode line. delete-selection-mode ; Replace selected text. recentf-mode ; Recently opened files. - show-paren-mode)) ; Highlight matching parentheses. + show-paren-mode ; Highlight matching parentheses. + global-undo-tree-mode)) ; Undo as a tree. (funcall mode 1)) #+END_SRC @@ -352,9 +354,7 @@ #+END_SRC [[https://github.com/milkypostman/powerline][Powerline]] is an extension to customize the mode line. This is modified - version =powerline-nano-theme=. This is what it looks like: - - [[./powerline.png]] + version =powerline-nano-theme=. #+BEGIN_SRC emacs-lisp :tangle yes (setq-default @@ -382,6 +382,10 @@ (powerline-render rhs)))))) #+END_SRC + This is what it looks like: + + [[./powerline.png]] + ** Ido Interactive do (or =ido-mode=) changes the way you switch buffers and diff --git a/init.pdf b/init.pdf index 3e52486..c91c97a 100644 Binary files a/init.pdf and b/init.pdf differ