summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/elisp/ap-functions.el2
-rw-r--r--emacs/init.el6
-rw-r--r--gitconfig4
3 files changed, 11 insertions, 1 deletions
diff --git a/emacs/elisp/ap-functions.el b/emacs/elisp/ap-functions.el
index 104b444..4c30001 100644
--- a/emacs/elisp/ap-functions.el
+++ b/emacs/elisp/ap-functions.el
@@ -44,3 +44,5 @@
                        ""))

         (command (read-shell-command "Shell command: " nil nil nil)))

     (shell-command (replace-regexp-in-string "%" file-buffer command) to-current-buffer)))

+

+(provide 'ap-functions)

diff --git a/emacs/init.el b/emacs/init.el
index 916cc42..1b7b495 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -427,6 +427,12 @@ Values: `desktop', `server', `laptop'")
             (add-to-list 'tramp-remote-path "/usr/local/sbin")
             (add-to-list 'tramp-remote-path "~/bin")))
 
+(use-package ediff
+  :defer t
+  :config (progn
+            (setq ediff-split-window-function 'split-window-horizontally
+                  ediff-window-setup-function 'ediff-setup-windows-plain)))
+
 ;;;; Indentation
 
 (setq-default tab-width 4
diff --git a/gitconfig b/gitconfig
index 74d13ec..0e4d5af 100644
--- a/gitconfig
+++ b/gitconfig
@@ -18,4 +18,6 @@
 	standup = log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%ci) %C(bold blue)<%an>%Creset' --since yesterday --author alan
 	ignored = ls-files --others -i --exclude-standard
 [github]
-	user = alan@alanpearce.co.uk
\ No newline at end of file
+	user = alan@alanpearce.co.uk
+[diff]
+	algorithm = patience