diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-08-20 17:43:22 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2023-08-20 17:44:25 +0100 |
commit | c642847a91134a4f9c54fd4263aa86a5a40b3cad (patch) | |
tree | 5009486b492822f7952545e93d39dd6931000fdc /Emacs/.config/emacs | |
parent | 7eb7f70bdbc7e51d571548796dd41d06a7d22dcf (diff) | |
download | dotfiles-c642847a91134a4f9c54fd4263aa86a5a40b3cad.tar.gz dotfiles-c642847a91134a4f9c54fd4263aa86a5a40b3cad.tar.bz2 dotfiles-c642847a91134a4f9c54fd4263aa86a5a40b3cad.zip |
(Emacs)+code blaming binding using magit
Very cool ability.
Diffstat (limited to 'Emacs/.config/emacs')
-rw-r--r-- | Emacs/.config/emacs/config.org | 8 |
1 files changed, 6 insertions, 2 deletions
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)) |