Added undo-tree

This commit is contained in:
larstvei 2014-03-23 14:00:19 +01:00
parent 58a4a20c9b
commit 8d3f424050
3 changed files with 13 additions and 7 deletions

View File

@ -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))

View File

@ -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

BIN
init.pdf

Binary file not shown.