多语言展示
当前在线:871今日阅读:23今日分享:25

巧用emacs的org-mode模式

介绍转个官方文档Org is a mode for keeping notes, maintaining TODO lists, and doingproject planning with a fast and effective plain-text system. Org develops organizational tasks around NOTES files that containlists or information about projects as plain text. Org is implementedon top of Outline mode, which makes it possible to keep the content oflarge files well structured. Visibility cycling and structure editinghelp to work with the tree. Tables are easily created with a built-intable editor. Org supports TODO items, deadlines, timestamps, andscheduling. It dynamically compiles entries into an agenda thatutilizes and smoothly integrates much of the Emacs calendar and diary.Plain text URL-like links connect to websites, emails, Usenet messages,BBDB entries, and any files related to the projects. For printing andsharing of notes, an Org file can be exported as a structured ASCIIfile, as HTML, or (TODO and agenda items only) as an iCalendar file.It can also serve as a publishing tool for a set of linked web pages.简单拉说,org-mode 就是一个记录笔记,todolist,管理时刻表等等的东西。安装一般默认自带了org-mode,若否,可以通过一种很简单的方式安装点这个选项卡,然后选择安装org-mode 即可。运行在任意文件M-x org-mode运行(Alt+x 然后输入org-mode)使用用*,**,***来区分各级标题,1.2.或者+ - 来更细化,用过latex的应该一下就明白这样安排的特点了。然后TODO 是记录要做的事情。在*处按shift+右键切换状态,快捷键C-c C-n 移动到下一个标题C-c C-p 移动到上一个标题C-c C-f 移动到和当前标题同等级的下一个标题C-c C-b 移动到和当前标题同等级的上一个标题C-c C-u 向上移动到更高一层的标题M- 减少节点层级 M- 增加节点层级 M- 将节点向上移动 M- 将节点向下移动 M- 增加一条同级节点 对当前结点进行切换:收缩→查看所有子结点→查看所有内容 - 对当前文件进行切换:收缩→查看所有子结点→查看所有内容 C-c . 在光标位置插入时间 C-c C-t 切换当前结点的状态 (TODO|DONE|) C-c [ 将当前文件设置为事件视图的数据源 C-c ] 从事件视力的数据源中删除当前文件(数据源) 一些令人赞叹的特性C-c C-e 可以导出成各种格式,包括自动用latex生成pdf,这个功能部分取代lyx部分取代evernote取代calendar取代todo list 软件
推荐信息