diff options
author | 2018-09-13 22:05:05 -0700 | |
---|---|---|
committer | 2018-09-13 22:06:30 -0700 | |
commit | e2594671af9056b4da13a64646211ebc71c3879d (patch) | |
tree | 7fd399b511de7115186775b33786d0213e087100 /emacs/.emacs.d/init/oni-magit-init.org | |
parent | cd9f77887e0b7881403a4db0d1d65117cda7b4db (diff) | |
download | new-dotfiles-e2594671af9056b4da13a64646211ebc71c3879d.tar.gz new-dotfiles-e2594671af9056b4da13a64646211ebc71c3879d.zip |
Move all configuration from org to elisp files
Diffstat (limited to 'emacs/.emacs.d/init/oni-magit-init.org')
-rw-r--r-- | emacs/.emacs.d/init/oni-magit-init.org | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/emacs/.emacs.d/init/oni-magit-init.org b/emacs/.emacs.d/init/oni-magit-init.org deleted file mode 100644 index 7981a77..0000000 --- a/emacs/.emacs.d/init/oni-magit-init.org +++ /dev/null @@ -1,37 +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. - -Integrate github issues and pull requests in Magit. Requires the =hub= -executable. - -#+BEGIN_SRC emacs-lisp - (require 'magithub) -#+END_SRC - -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 |