aboutsummaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init/magit-init.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-10-16 22:32:11 +0200
committerGravatar Tom Willemse2016-10-16 22:32:32 +0200
commit36c8b991eeaa75ac2572faff2c4ce58b426a1620 (patch)
treec0d647864818567b499add5dbcd8c8b5bf020887 /emacs/.emacs.d/init/magit-init.org
parent01a358e8315f8cf416fed80cba6628ad53454b12 (diff)
downloadnew-dotfiles-36c8b991eeaa75ac2572faff2c4ce58b426a1620.tar.gz
new-dotfiles-36c8b991eeaa75ac2572faff2c4ce58b426a1620.zip
Make sure init files have unique names
Diffstat (limited to 'emacs/.emacs.d/init/magit-init.org')
-rw-r--r--emacs/.emacs.d/init/magit-init.org30
1 files changed, 0 insertions, 30 deletions
diff --git a/emacs/.emacs.d/init/magit-init.org b/emacs/.emacs.d/init/magit-init.org
deleted file mode 100644
index 217d45c..0000000
--- a/emacs/.emacs.d/init/magit-init.org
+++ /dev/null
@@ -1,30 +0,0 @@
-#+TITLE: Magit
-
-#+BEGIN_SRC emacs-lisp
- (require 'magit)
-#+END_SRC
-
-Magit is a very nice interface to Git for Emacs. It allows you to do
-just about anything with Git without leaving the comfort of your Emacs
-session.
-
-Show refined diffs in magit. This makes it much easier to see /what/
-has changed on a line.
-
-#+BEGIN_SRC emacs-lisp
- (setq magit-diff-refine-hunk 'all)
-#+END_SRC
-
-Make the magit status buffer always open as the only window in Emacs.
-
-#+BEGIN_SRC emacs-lisp
- (defvar oni:magit-status-rx
- (rx bos "*magit: "))
-
- (defun oni:display-buffer-in-only-window (buffer alist)
- (delete-other-windows)
- (display-buffer-same-window buffer alist))
-
- (add-to-list 'display-buffer-alist
- `(,oni:magit-status-rx oni:display-buffer-in-only-window))
-#+END_SRC