(Emacs)+code blaming binding using magit
Very cool ability.
This commit is contained in:
@@ -1989,14 +1989,18 @@ don't need to write everything myself.
|
|||||||
("magit-log:.*"
|
("magit-log:.*"
|
||||||
(display-buffer-same-window))
|
(display-buffer-same-window))
|
||||||
:general
|
:general
|
||||||
(leader "g" '(magit-status :which-key "Magit"))
|
(leader
|
||||||
|
"g" '(magit-status :which-key "Magit"))
|
||||||
|
(code-leader
|
||||||
|
"b" #'magit-blame)
|
||||||
:auto-insert
|
:auto-insert
|
||||||
(("COMMIT_EDITMSG" . "Commit skeleton")
|
(("COMMIT_EDITMSG" . "Commit skeleton")
|
||||||
""
|
""
|
||||||
"(" (read-string "Enter feature/module: ") ")"
|
"(" (read-string "Enter feature/module: ") ")"
|
||||||
(read-string "Enter simple description: ") "\n\n")
|
(read-string "Enter simple description: ") "\n\n")
|
||||||
:init
|
:init
|
||||||
(setq vc-follow-symlinks t)
|
(setq vc-follow-symlinks t
|
||||||
|
magit-blame-echo-style 'lines)
|
||||||
:config
|
:config
|
||||||
(with-eval-after-load "evil"
|
(with-eval-after-load "evil"
|
||||||
(evil-set-initial-state 'magit-status-mode 'motion))
|
(evil-set-initial-state 'magit-status-mode 'motion))
|
||||||
|
|||||||
Reference in New Issue
Block a user