 ; Backups {{{
 ; put all auto-saves/backups to the temp directory
 (setq backup-directory-alist
-                `((".*" . ,temporary-file-directory)))
+	`((".*" . ,temporary-file-directory)))
 (setq auto-save-file-name-transforms
-                `((".*" ,temporary-file-directory t)))
-;}}}
+	`((".*" ,temporary-file-directory t)))
+;}}}

; write timestamp when a TODO changes to DONE
(setq org-log-done t)
(setq org-agenda-files (list "~/org"))

; yasnippet
(add-to-list 'load-path "/usr/share/emacs/site-lisp/yas")
(require 'yasnippet) ;; not yasnippet-bundle
(yas/initialize)
(yas/load-directory "/usr/share/emacs/site-lisp/yas/snippets")
;}}}

; Appearance {{{

(define-key evil-normal-state-map ",P" "\"+P") ; paste (before cursor) X primary clipboard
; navigation
; simulate vim's "nnoremap <space> 10jzz"
(define-key evil-normal-state-map " "
	(lambda ()
		(interactive)
		(next-line 10)
		(evil-scroll-line-down 10)
	)
)
; simulate vim's "nnoremap <backspace> 10kzz"
(define-key evil-normal-state-map (kbd "DEL")
	(lambda ()
		(interactive)
		(previous-line 10)
		(evil-scroll-line-up 10)
	)
)
(define-key evil-normal-state-map ",h" 'split-window-vertically)
(define-key evil-normal-state-map ",v" 'split-window-horizontally)
(define-key evil-normal-state-map [tab] 'other-window) ; move to other window
