diff --git a/config/development.org b/config/development.org index aa861c0c..c6c57006 100644 --- a/config/development.org +++ b/config/development.org @@ -128,13 +128,14 @@ Git clients exist, only Magit and Git itself deserve to be called porcelains. :hook (magit-post-stage-hook . cunene/magit-recenter) :config - (setq epg-pinentry-mode 'loopback) - (setq magit-display-buffer-function 'magit-display-buffer-same-window-except-diff-v1) - (setq magit-diff-highlight-hunk-region-functions - '(magit-diff-highlight-hunk-region-using-face)) - (setq magit-diff-refine-hunk 'all) - (setq magit-module-sections-nested nil) - (setq magit-section-initial-visibility-alist + (setq epg-pinentry-mode 'loopback + magit-commit-ask-to-stage 'stage ;; do not ask to stage + magit-display-buffer-function 'magit-display-buffer-same-window-except-diff-v1 + magit-diff-highlight-hunk-region-functions + '(magit-diff-highlight-hunk-region-using-face) + magit-diff-refine-hunk 'all + magit-module-sections-nested nil + magit-section-initial-visibility-alist '((modules . show) (stashes . show) (unpulled . show) (unpushed . show))) (magit-add-section-hook 'magit-status-sections-hook 'magit-insert-modules-overview 'magit-insert-merge-log)