From 7869360008d87ca4b459c703f4894625dd8181cc Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 26 Jan 2014 01:59:44 -0500 Subject: Follow Purcell's emacs.d structure User init files are added using provide/require. https://github.com/purcell/emacs.d --- init/km-git.el | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 init/km-git.el (limited to 'init/km-git.el') diff --git a/init/km-git.el b/init/km-git.el deleted file mode 100644 index e18ab55..0000000 --- a/init/km-git.el +++ /dev/null @@ -1,25 +0,0 @@ -(require 'git-annex) - -(setq git-annex-commit nil) - -(require 'magit) - -(defun km/magit-auto-commit () - "Commit all changes with \"auto\" commit message. -Useful for non-source code repos (e.g., Org mode note files)." - (interactive) - (magit-run-git "commit" "--all" "--message=auto")) - -(magit-key-mode-insert-action 'committing - "u" "Auto commit" 'km/magit-auto-commit) - -;; http://whattheemacsd.com/setup-magit.el-01.html -(defadvice magit-status (around magit-fullscreen activate) - ad-do-it - (delete-other-windows)) - -(setq magit-restore-window-configuration t) - -(setq magit-default-tracking-name-function 'magit-default-tracking-name-branch-only) - -(setq magit-log-show-margin nil) -- cgit v1.2.3