From c642847a91134a4f9c54fd4263aa86a5a40b3cad Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 20 Aug 2023 17:43:22 +0100 Subject: (Emacs)+code blaming binding using magit Very cool ability. --- Emacs/.config/emacs/config.org | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Emacs') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 2251ea0..b1c45ee 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -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)) -- cgit v1.2.3-13-gbd6f