浏览代码

Add magit-todos to magit-mode

Kinda neat shows todo's in source on the magit mode screen.
master
Mitchell Tishmack 5 年前
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:


正在加载...
取消
保存