 (load-theme 'solarized-dark t)
 
 (require 'editorconfig)
+(editorconfig-mode)
 
 ;; Allow evil to override more Emacs keybindings
 (setq evil-search-module 'evil-search

(global-set-key (kbd "<f12>") 'toggle-max-nyan)

(require 'undo-tree)
(global-undo-tree-mode)

(require 'vimrc-mode)

(require 'xkcd)
(evil-set-initial-state 'xkcd 'emacs)

;; Add some xkcd keybindings
(add-hook 'xkcd-mode-hook
	  (lambda ()
	    (linum-mode -1)
	    (setq cursor-type nil)))

(define-key xkcd-mode-map (kbd "h") 'xkcd-prev)
(define-key xkcd-mode-map (kbd "j") 'xkcd-next)
(define-key xkcd-mode-map (kbd "k") 'xkcd-prev)


;; Configure backup settings
(setq backup-directory-alist '(("." . "~/.emacs.d/backup"))
      backup-by-copying t    ;; Use copying (doesn't clobber symlinks)
      delete-old-versions t  ;; Don't prompt to delete old versions
      kept-new-versions 5
      kept-old-versions 0
      version-control t)     ;; Keep multiple numbered backups

(set-face-font 'default "-*-terminus-medium-r-*-*-16-*-*-*-*-*-*-*")

;; Keep lines at 80 characters when autoformatting
(setq fill-column 80)

;; Configure version control settings
(setq vc-follow-symlinks t     ;; Don't prompt to follow symlinks to vc'd files
      vc-handled-backends '(Git Hg SVN) ;; Only check for modern vcs's
      vc-make-backup-files t)  ;; Backup files in version control too

;; Show partially completed key sequences sooner
(setq echo-keystrokes 0.1)
