PageRenderTime 54ms CodeModel.GetById 23ms RepoModel.GetById 1ms app.codeStats 0ms

/org.org

https://github.com/live5156go51/org-note-files
Org | 135 lines | 126 code | 9 blank | 0 comment | 3 complexity | fe4cb7ddd878fea143e4c7b5bc496ecd MD5 | raw file
  1. #+TITLE: Emacs org-mode 学习笔记
  2. #+AUTHOR: Junstrix
  3. #+EMAIL: junstrix@gmail.com
  4. #+DATE: 2011-09-08
  5. #+DESCRIPTION: 学习emacs org-mode留下的笔记 http://orgmode.org/orgguide.pdf
  6. #+KEYWORDS: emacs org-mode hacking
  7. #+LANGUAGE: zh
  8. #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
  9. #+OPTIONS: TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc
  10. #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
  11. #+EXPORT_SELECT_TAGS: export
  12. #+EXPORT_EXCLUDE_TAGS: noexport
  13. #+LINK_UP: http://imljp.info/?page_id=218
  14. #+LINK_HOME: http://imljp.info
  15. * TAB / S-TAB(显示)
  16. |-------+-------------------------------------|
  17. | Tab | FOLDED/CHILDREN/SUBTREE之间切换显示 |
  18. |-------+-------------------------------------|
  19. | S-Tab | OVERVIEW/CONTENTS/SHOW ALL切换显示 |
  20. |-------+-------------------------------------|
  21. * Motion 移动
  22. |---------+-----------------------------------|
  23. | C-c C-n | Next heading. |
  24. |---------+-----------------------------------|
  25. | C-c C-p | Previous heading. |
  26. |---------+-----------------------------------|
  27. | C-c C-f | Next heading same level. |
  28. |---------+-----------------------------------|
  29. | C-c C-b | Previous heading same level. |
  30. |---------+-----------------------------------|
  31. | C-c C-u | Backward to higher level heading. |
  32. |---------+-----------------------------------|
  33. * Structure editing(文件结构编辑)
  34. |----------------+----------------------------------------------------|
  35. | M-RET | 插入一个同等的Headingline |
  36. |----------------+----------------------------------------------------|
  37. | M-S-RET | 插入同等Headingline新的TODO |
  38. |----------------+----------------------------------------------------|
  39. | M-LEFT/RIGHT | 增或减目前Heading显示结构等级 |
  40. |----------------+----------------------------------------------------|
  41. | M-S-LEFT/RIGHT |  Promote/demote the current subtree by one level. |
  42. |----------------+----------------------------------------------------|
  43. | M-S-UP/DOWN | 移动headingline |
  44. |----------------+----------------------------------------------------|
  45. | C-c C-w | emacs 书签 |
  46. |----------------+----------------------------------------------------|
  47. * Footnotes(脚注)
  48. |---------+---------------------------------------|
  49. | C-c C-c | Jump between definition and reference |
  50. |---------+---------------------------------------|
  51. This is a Footnotes[fn:1] .
  52. [fn:1] Example of Footnotes.
  53. * Tables(表格)
  54. ** Creation and conversion(创建和转换)
  55. |-------+----------|
  56. | C-c \ | 创建表格 |
  57. |-------+----------|
  58. ** Re-aligning and field motion(表格排版和表格之间移动)
  59. |---------+-------------------------------------------------------------------------------|
  60. | C-c C-c | Re-align the table without moving the cursor. |
  61. | TAB | Re-align the table, move to the next field. Creates a new row if necessary. |
  62. | S-TAB | Re-align, move to previous field. |
  63. | RET | Re-align the table and move down to next row. Creates a new row if necessary. |
  64. |---------+-------------------------------------------------------------------------------|
  65. ** Column and row editing(表格行与列编辑)
  66. |------------------+--------------------------------------------------------------------------------------------------------------|
  67. | M-RIGHT / M-LEFT | Move the current column left/right.(向左或向右移动目前的列) |
  68. | M-S-LEFT | Kill the current column.删除kill目前列 |
  69. | M-S-RIGHT | Insert a new column to the left of the cursor position.(向左在光标处插入新列) |
  70. | M-UP / M-DOWN | Move the current row up/down.(向上或下移动行) |
  71. | M-S-UP | Kill the current row or horizontal line.(删除kill目前行) |
  72. | M-S-DOWN | Insert a new row above the current row. With a prefix argument, the line is created below the current one. |
  73. | C-c - | Insert a horizontal line below current row. With a prefix argument, the line created above the current line. |
  74. | C-c RET | Insert a horizontal line below current row, and move the cursor into the row below that line. |
  75. | C-c ^(排序) | Sort the table lines in the region. The position of point indicates the column |
  76. | | to be used for sorting, and the range of lines is the range between the nearest |
  77. | | horizontal separator lines, or the entire table. |
  78. |------------------+--------------------------------------------------------------------------------------------------------------|
  79. * Hyperlinks(超链接)
  80. |---------+----------------|
  81. | C-c C-l | 插入或修改链接 |
  82. |---------+----------------|
  83. ** Link format(链接格式)
  84. #+begin_example link_format
  85. [[link][description]]
  86. [[link]]
  87. #+end_example link_format
  88. - Description link of Example :: [[http://imljp.info][this is ljp's homepage!]]
  89. - link of Example :: [[http://imljp.info]]
  90. - Guide of org :: [[http://orgmode.org/orgguide.pdf][orgguide.pdf 快速手册(英文)]]
  91. ** Internal links(内部链接)
  92. #+begin_example internal_links
  93. [[Mytarget][Taget description]] Descript方式的内部连接
  94. [[Taget]]             直接内部链接
  95. #+end_example
  96. - Description internal links ::[[Motion][这是一个描述式内部链接]] 链接到关键字Motion
  97. - Taget internal links :: [[TAB]] 这是链接到TAB
  98. ** External links(外部链接)
  99. Here are some examples.
  100. #+begin_example external_link
  101. http://www.astro.uva.nl/~dominik on the web
  102. file:/home/dominik/images/jupiter.jpg file, absolute path
  103. /home/dominik/images/jupiter.jpg same as above
  104. file:papers/last.pdf file, relative path
  105. file:projects.org another Org file
  106. docview:papers/last.pdf::NNN open file in doc-view mode at page NNN
  107. id:B7423F4D-2E8A-471B-8810-C40F074717E9 Link to heading by ID
  108. news:comp.emacs Usenet link
  109. mailto:adent@galaxy.net Mail link
  110. vm:folder VM folder link
  111. vm:folder#id VM message link
  112. wl:folder#id WANDERLUST message link
  113. mhe:folder#id MH-E message link
  114. rmail:folder#id RMAIL message link
  115. gnus:group#id Gnus article link
  116. bbdb:R.*Stallman BBDB link (with regexp)
  117. irc:/irc.com/#emacs/bob IRC link
  118. info:org:External%20links Info node link (with encoded space)
  119. #+end_example
  120. ** Targeted links(目标链接)
  121. Here are some example.
  122. #+begin_example target_links
  123. [[file:~/code/main.c::255]] Find line 255
  124. [[file:~/xx.org::My Target]] Find <<My Target>>
  125. [[file:~/xx.org::#my-custom-id]] Find entry with custom id
  126. #+end_example