🔗 magit/magit.el: Git user interface.
magit status
は、デフォルトでは other-window
に表示されますが、フルフレームで表示されるようにしました。
(leaf magit
:ensure t
:bind (("M-g s" . magit-status)
("M-g b" . magit-blame)
("M-g t" . git-timemachine-toggle))
:hook (magit-post-refresh-hook . diff-hl-magit-post-refresh)
:custom (transient-history-file . "~/.emacs.d/tmp/transient-history")
:init
(leaf diff-hl :ensure t
:hook ((after-init-hook . global-diff-hl-mode)
(after-init-hook . diff-hl-margin-mode)))
(leaf git-timemachine :ensure t)
(leaf browse-at-remote :ensure t
:custom (browse-at-remote-prefer-symbolic . nil)))
(setq magit-display-buffer-function #'magit-display-buffer-fullframe-status-v1)