Emacsist RSS --- If never, make it ever: C-h C-h

Pimp Up Your Org-mode Files


这里 查看更多 Emacs 相关推荐文章最新 Emacs 圈的动态. 欢迎关注微信公众账号: Emacsist

Hick 叽喳:

    最近也开始上手 org 了, 这个看着有趣...

Step 1: Pretty Bullets

You can use org-bullets to get nice bullet symbols such as these:


Here is my setup:

(use-package org-bullets
:ensure t
(setq org-bullets-bullet-list '("?" "◎" "?" "○" "?" "◇"))
(add-hook 'org-mode-hook (lambda () (org-bullets-mode 1))))

You can omit the org-bullets-bullet-list: the defaults look quite nice, too.

If you need inspiration, you can find an exhaustive list of utf-8 symbols here.

Step 2: Fancy Todo States

You can make your org files even more decadent, if you setup utf-8 (see here).

You can then add fancy symbols directly to your todo states definitions.

For example:

(setq org-todo-keywords '((sequence "? TODO(t)" "|" "? DONE(d)")
(sequence "|" "? WAITING(w)")
(sequence "|" "? CANCELED(c)")))

The full picture then looks like this:


原文出处: reddit:emacs
原文地址: http://www.reddit.com/r/emacs/comments/40zrny/pimp_up_your_orgmode_files/
原文时间: 2016-01-15 05:37
本文地址: http://emacsist.com/10674
整理时间: 2016-01-15 13:01

本文由 Hick 整理,转载请保留以上信息;
COPYLEFTThe articles on this site come from Internet, thanks to all the original authors.
      If anything about COPYRIGHT, or LEFT, please contact Emacsist at gmail dot com .