瀏覽代碼

Add magit-todos to magit-mode

Kinda neat shows todo's in source on the magit mode screen.
master
Mitchell Tishmack 6 年之前
committed by Mitch Tishmack
父節點
當前提交
2b3860112a
共有 1 個檔案被更改,包括 10 行新增 和 3 行删除
  1. +10
    -3
      emacs.org

+ 10
- 3
emacs.org 查看文件

@@ -722,11 +722,18 @@ Make git not ass to use. At least in emacs. magit is the best git interface... i
(window-configuration-to-register :magit-fullscreen)
ad-do-it
(delete-other-windows))

(defadvice magit-quit-window (around magit-restore-screen activate)
ad-do-it
(jump-to-register :magit-fullscreen))
)
(jump-to-register :magit-fullscreen)))
#+END_SRC

And add TODO detection to the magit buffer. That way they get bubbled up to the
top to look at.

#+BEGIN_SRC emacs-lisp
(use-package magit-todos
:after magit
:hook (magit-mode . magit-todos-mode))
#+END_SRC

*** TODO workgroups2 :broken:


Loading…
取消
儲存