Move magit

This commit is contained in:
Ivan Malison 2016-06-13 12:23:06 -07:00
parent 979b3b9646
commit 49bcdf8cfa

View File

@ -756,22 +756,6 @@ I use helm for almost all emacs completion
(bind-key* "C-c p s" 'imalison:do-ag) (bind-key* "C-c p s" 'imalison:do-ag)
(bind-key* "C-c p f" 'imalison:projectile-find-file))) (bind-key* "C-c p f" 'imalison:projectile-find-file)))
#+END_SRC #+END_SRC
*** magit
#+BEGIN_SRC emacs-lisp
(use-package magit
:commands magit-status
:bind (("C-x g" . magit-status))
:config
(progn
(defvar-setq magit-last-seen-setup-instructions "1.4.0")
(magit-auto-revert-mode)
(use-package magit-filenotify
;; Seems like OSX does not support filenotify.
:disabled t
:if (funcall o(emacs-version-predicate 24 4))
:config
:init (add-hook 'magit-status-mode-hook 'magit-filenotify-mode))))
#+END_SRC
*** avy *** avy
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package avy (use-package avy
@ -1614,6 +1598,22 @@ realgud provides debugging support with many external debuggers in emacs
("c" term-projectile-create-new) ("c" term-projectile-create-new)
("d" imalison:term-hydra-default-directory/body :exit t)))) ("d" imalison:term-hydra-default-directory/body :exit t))))
#+END_SRC #+END_SRC
*** magit
#+BEGIN_SRC emacs-lisp
(use-package magit
:commands magit-status
:bind (("C-x g" . magit-status))
:config
(progn
(defvar-setq magit-last-seen-setup-instructions "1.4.0")
(magit-auto-revert-mode)
(use-package magit-filenotify
;; Seems like OSX does not support filenotify.
:disabled t
:if (funcall o(emacs-version-predicate 24 4))
:config
:init (add-hook 'magit-status-mode-hook 'magit-filenotify-mode))))
#+END_SRC
*** crux *** crux
crux-reopen-as-root-mode makes it so that any file owned by root will automatically be opened as the root user. crux-reopen-as-root-mode makes it so that any file owned by root will automatically be opened as the root user.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp