 
 ;; Replace isearch query replace and query-replace functions with Anzu's equivalents
 (use-package anzu
-  :config (progn ()
-                 (defalias 'query-replace 'anzu-query-replace)
-                 (defalias 'query-replace-regexp 'anzu-query-replace-regexp)
-                 (defalias 'isearch-query-replace 'anzu-isearch-query-replace)
-                 (defalias 'isearch-query-replace-regexp 'anzu-isearch-query-replace-regexp)))
+  :config (progn
+            (defalias 'query-replace 'anzu-query-replace)
+            (defalias 'query-replace-regexp 'anzu-query-replace-regexp)
+            (defalias 'isearch-query-replace 'anzu-isearch-query-replace)
+            (defalias 'isearch-query-replace-regexp 'anzu-isearch-query-replace-regexp)))
 
 ;; Git
 (use-package magit

;; Stop asking me if a theme is safe. The entirety of Emacs is built around
;; evaling arbituary code...
(advice-add 'load-theme :around #'(lambda (old-load-theme &rest r)
                                    (apply old-load-theme (append r '(t)))))


(define-key emacs-lisp-mode-map (kbd "C-c e v") 'find-variable-at-point)
(add-hook 'emacs-lisp-mode-hook 'eldoc-mode)

;; Rebind windmove keys
(global-set-key (kbd "C-c <left>")  'windmove-left)
(global-set-key (kbd "C-c <right>") 'windmove-right)
(global-set-key (kbd "C-c <up>")    'windmove-up)
(global-set-key (kbd "C-c <down>")  'windmove-down)

;; Unmap undo-tree mode
(assq-delete-all 'undo-tree-mode minor-mode-map-alist)
(global-set-key (kbd "C-x u") 'undo-tree-visualize)

