Merge branch 'magit-directors-cut' into all

This commit is contained in:
Jonas Bernoulli
2017-07-26 22:39:19 +02:00
3 changed files with 7 additions and 11 deletions

14
init.el
View File

@@ -203,25 +203,21 @@
'replace) 'replace)
;; ;;
;; Diff buffer settings ;; Diff buffer settings
(setq magit-diff-refine-hunk 'all) (setq magit-diff-refine-hunk 'all))
;;
;; Load extensions
(require 'magit-rockstar)
(require 'magit-wip))
(use-package magit-rockstar (use-package magit-rockstar
:defer t :after magit
:functions (magit-define-popup-action) :functions (magit-define-popup-action)
:config :config
(magit-define-popup-action 'magit-commit-popup (magit-define-popup-action 'magit-commit-popup
?n "Reshelve" 'magit-reshelve) ?n "Reshelve" 'magit-reshelve)
(magit-define-popup-action 'magit-rebase-popup (magit-define-popup-action 'magit-rebase-popup
?R "Rockstar" 'magit-rockstar) ?R "Rockstar" 'magit-rockstar)
(magit-define-popup-action 'magit-pull-and-fetch-popup (magit-define-popup-action 'magit-branch-popup
?P "pull request" 'magit-branch-pull-request)) ?p "Create from pull-request" 'magit-branch-pull-request))
(use-package magit-wip (use-package magit-wip
:defer t :after magit
:config :config
(magit-wip-before-change-mode) (magit-wip-before-change-mode)
(magit-wip-after-apply-mode) (magit-wip-after-apply-mode)