(Emacs)+code blaming binding using magit

Very cool ability.
This commit is contained in:
2023-08-20 17:43:22 +01:00
parent 7eb7f70bdb
commit c642847a91

View File

@@ -1989,14 +1989,18 @@ don't need to write everything myself.
("magit-log:.*"
(display-buffer-same-window))
:general
(leader "g" '(magit-status :which-key "Magit"))
(leader
"g" '(magit-status :which-key "Magit"))
(code-leader
"b" #'magit-blame)
:auto-insert
(("COMMIT_EDITMSG" . "Commit skeleton")
""
"(" (read-string "Enter feature/module: ") ")"
(read-string "Enter simple description: ") "\n\n")
:init
(setq vc-follow-symlinks t)
(setq vc-follow-symlinks t
magit-blame-echo-style 'lines)
:config
(with-eval-after-load "evil"
(evil-set-initial-state 'magit-status-mode 'motion))