Browse Source

Update magit settings

master
Nicolas Petton 3 years ago
parent
commit
32a97a92fd
Signed by: nico GPG Key ID: 233587A47C207910
1 changed files with 5 additions and 17 deletions
  1. +5
    -17
      init.el

+ 5
- 17
init.el View File

@ -381,23 +381,11 @@ be global."
("C-x M-g" . magit-dispatch-popup)
:map magit-mode-map
("C" . magit-commit-add-log))
:config
(magit-add-section-hook 'magit-status-sections-hook
'magit-insert-modules-unpulled-from-upstream
'magit-insert-unpulled-from-upstream)
(magit-add-section-hook 'magit-status-sections-hook
'magit-insert-modules-unpulled-from-pushremote
'magit-insert-unpulled-from-upstream)
(magit-add-section-hook 'magit-status-sections-hook
'magit-insert-modules-unpushed-to-upstream
'magit-insert-unpulled-from-upstream)
(magit-add-section-hook 'magit-status-sections-hook
'magit-insert-modules-unpushed-to-pushremote
'magit-insert-unpulled-from-upstream)
;; (magit-add-section-hook 'magit-status-sections-hook
;; 'magit-insert-submodules
;; 'magit-insert-unpulled-from-upstream)
(setq magit-default-tracking-name-function #'magit-default-tracking-name-branch-only))
:config (progn
(magit-add-section-hook 'magit-status-sections-hook
'magit-insert-modules
'magit-insert-unpulled-from-upstream)
(setq magit-default-tracking-name-function #'magit-default-tracking-name-branch-only)))
(use-package man
:config (setq Man-width 80))


Loading…
Cancel
Save