72

GitHub - danielma/magit-org-todos.el: Get `todo.org` into your magit status

 6 years ago
source link: https://github.com/danielma/magit-org-todos.el
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

README.md

magit-org-todos

Get todo.org into your magit status.

If you have a todo.org file with TODO items in the root of your repository, magit-org-todos will create a section in your magit status buffer with each of your todos.

Screenshot

Usage

The recommended way to use magit-org-todos is with use-package

(use-package magit-org-todos
  :config
  (magit-org-todos-autoinsert))

Configuration

magit-org-todos exposes two main functions.

magit-org-todos-autoinsert automatically inserts a section into your magit status buffer after the staged changes section.

If you want to insert it at a different location, use magit-add-section-hook to insert magit-org-todos-insert-org-todos

(magit-add-section-hook
  'magit-status-sections-hook
  'magit-org-todos-insert-org-todos
  'magit-insert-staged-changes
  t))

Contributing

Pull requests and issues welcome!


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK