orgcard.tex 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776
  1. % Reference Card for Org Mode
  2. \def\orgversionnumber{5.13e}
  3. \def\versionyear{2007} % latest update
  4. \def\year{2007} % latest copyright year
  5. %**start of header
  6. \newcount\columnsperpage
  7. \newcount\letterpaper
  8. % This file can be printed with 1, 2, or 3 columns per page (see below).
  9. % Specify how many you want here.
  10. \columnsperpage=3
  11. % Set letterpapaer to 0 for A4 paper, 1 for letter (US) paper. Useful
  12. % only when columnsperpage is 2 or 3.
  13. \letterpaper=0
  14. % Nothing else needs to be changed below this line.
  15. % Copyright (C) 1987, 1993, 1996, 1997, 2001, 2002, 2003, 2004,
  16. % 2005, 2006, 2007 Free Software Foundation, Inc.
  17. % This file is part of GNU Emacs.
  18. % GNU Emacs is free software; you can redistribute it and/or modify
  19. % it under the terms of the GNU General Public License as published by
  20. % the Free Software Foundation; either version 2, or (at your option)
  21. % any later version.
  22. % GNU Emacs is distributed in the hope that it will be useful,
  23. % but WITHOUT ANY WARRANTY; without even the implied warranty of
  24. % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  25. % GNU General Public License for more details.
  26. % You should have received a copy of the GNU General Public License
  27. % along with GNU Emacs; see the file COPYING. If not, write to
  28. % the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  29. % Boston, MA 02110-1301, USA.
  30. % This file is intended to be processed by plain TeX (TeX82).
  31. %
  32. % The final reference card has six columns, three on each side.
  33. % This file can be used to produce it in any of three ways:
  34. % 1 column per page
  35. % produces six separate pages, each of which needs to be reduced to 80%.
  36. % This gives the best resolution.
  37. % 2 columns per page
  38. % produces three already-reduced pages.
  39. % You will still need to cut and paste.
  40. % 3 columns per page
  41. % produces two pages which must be printed sideways to make a
  42. % ready-to-use 8.5 x 11 inch reference card.
  43. % For this you need a dvi device driver that can print sideways.
  44. % Which mode to use is controlled by setting \columnsperpage above.
  45. %
  46. % To compile and print this document:
  47. % tex refcard.tex
  48. % dvips -t landscape refcard.dvi
  49. %
  50. % Author:
  51. % Stephen Gildea
  52. % Internet: gildea@stop.mail-abuse.org
  53. %
  54. % Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik
  55. % for their many good ideas.
  56. \def\shortcopyrightnotice{\vskip 1ex plus 2 fill
  57. \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
  58. Permissions on back. v\orgversionnumber}}
  59. \def\copyrightnotice{
  60. \vskip 1ex plus 100 fill\begingroup\small
  61. \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
  62. \centerline{v\orgversionnumber{} for Org-Mode \orgversionnumber{}, \versionyear}
  63. \centerline{Author: Philip Rooke}
  64. \centerline{based on refcard design and format by Stephen Gildea}
  65. Permission is granted to make and distribute copies of
  66. this card provided the copyright notice and this permission notice
  67. are preserved on all copies.
  68. \endgroup}
  69. % make \bye not \outer so that the \def\bye in the \else clause below
  70. % can be scanned without complaint.
  71. \def\bye{\par\vfill\supereject\end}
  72. \newdimen\intercolumnskip %horizontal space between columns
  73. \newbox\columna %boxes to hold columns already built
  74. \newbox\columnb
  75. \def\ncolumns{\the\columnsperpage}
  76. \message{[\ncolumns\space
  77. column\if 1\ncolumns\else s\fi\space per page]}
  78. \def\scaledmag#1{ scaled \magstep #1}
  79. % This multi-way format was designed by Stephen Gildea October 1986.
  80. % Note that the 1-column format is fontfamily-independent.
  81. \if 1\ncolumns %one-column format uses normal size
  82. \hsize 4in
  83. \vsize 10in
  84. \voffset -.7in
  85. \font\titlefont=\fontname\tenbf \scaledmag3
  86. \font\headingfont=\fontname\tenbf \scaledmag2
  87. \font\smallfont=\fontname\sevenrm
  88. \font\smallsy=\fontname\sevensy
  89. \footline{\hss\folio}
  90. \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
  91. \else %2 or 3 columns uses prereduced size
  92. \if 1\the\letterpaper
  93. \hsize 3.2in
  94. \vsize 7.95in
  95. \hoffset -.75in
  96. \voffset -.745in
  97. \else
  98. \hsize 3.2in
  99. \vsize 7.65in
  100. \hoffset -.25in
  101. \voffset -.745in
  102. \fi
  103. \font\titlefont=cmbx10 \scaledmag2
  104. \font\headingfont=cmbx10 \scaledmag1
  105. \font\smallfont=cmr6
  106. \font\smallsy=cmsy6
  107. \font\eightrm=cmr8
  108. \font\eightbf=cmbx8
  109. \font\eightit=cmti8
  110. \font\eighttt=cmtt8
  111. \font\eightmi=cmmi8
  112. \font\eightsy=cmsy8
  113. \textfont0=\eightrm
  114. \textfont1=\eightmi
  115. \textfont2=\eightsy
  116. \def\rm{\eightrm}
  117. \def\bf{\eightbf}
  118. \def\it{\eightit}
  119. \def\tt{\eighttt}
  120. \if 1\the\letterpaper
  121. \normalbaselineskip=.8\normalbaselineskip
  122. \else
  123. \normalbaselineskip=.7\normalbaselineskip
  124. \fi
  125. \normallineskip=.8\normallineskip
  126. \normallineskiplimit=.8\normallineskiplimit
  127. \normalbaselines\rm %make definitions take effect
  128. \if 2\ncolumns
  129. \let\maxcolumn=b
  130. \footline{\hss\rm\folio\hss}
  131. \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
  132. \else \if 3\ncolumns
  133. \let\maxcolumn=c
  134. \nopagenumbers
  135. \else
  136. \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
  137. \errmessage{Illegal number of columns per page}
  138. \fi\fi
  139. \intercolumnskip=.46in
  140. \def\abc{a}
  141. \output={% %see The TeXbook page 257
  142. % This next line is useful when designing the layout.
  143. %\immediate\write16{Column \folio\abc\space starts with \firstmark}
  144. \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
  145. \else\if a\abc
  146. \global\setbox\columna\columnbox \global\def\abc{b}
  147. %% in case we never use \columnb (two-column mode)
  148. \global\setbox\columnb\hbox to -\intercolumnskip{}
  149. \else
  150. \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
  151. \def\multicolumnformat{\shipout\vbox{\makeheadline
  152. \hbox{\box\columna\hskip\intercolumnskip
  153. \box\columnb\hskip\intercolumnskip\columnbox}
  154. \makefootline}\advancepageno}
  155. \def\columnbox{\leftline{\pagebody}}
  156. \def\bye{\par\vfill\supereject
  157. \if a\abc \else\null\vfill\eject\fi
  158. \if a\abc \else\null\vfill\eject\fi
  159. \end}
  160. \fi
  161. % we won't be using math mode much, so redefine some of the characters
  162. % we might want to talk about
  163. %\catcode`\^=12
  164. \catcode`\_=12
  165. % we also need the tilde, for file names.
  166. \catcode`\~=12
  167. \chardef\\=`\\
  168. \chardef\{=`\{
  169. \chardef\}=`\}
  170. \hyphenation{mini-buf-fer}
  171. \parindent 0pt
  172. \parskip 1ex plus .5ex minus .5ex
  173. \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
  174. % newcolumn - force a new column. Use sparingly, probably only for
  175. % the first column of a page, which should have a title anyway.
  176. \outer\def\newcolumn{\vfill\eject}
  177. % title - page title. Argument is title text.
  178. \outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}
  179. % section - new major section. Argument is section name.
  180. \outer\def\section#1{\par\filbreak
  181. \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
  182. \vskip 2ex plus 1ex minus 1.5ex}
  183. \newdimen\keyindent
  184. % beginindentedkeys...endindentedkeys - key definitions will be
  185. % indented, but running text, typically used as headings to group
  186. % definitions, will not.
  187. \def\beginindentedkeys{\keyindent=1em}
  188. \def\endindentedkeys{\keyindent=0em}
  189. \endindentedkeys
  190. % paralign - begin paragraph containing an alignment.
  191. % If an \halign is entered while in vertical mode, a parskip is never
  192. % inserted. Using \paralign instead of \halign solves this problem.
  193. \def\paralign{\vskip\parskip\halign}
  194. % \<...> - surrounds a variable name in a code example
  195. \def\<#1>{{\it #1\/}}
  196. % kbd - argument is characters typed literally. Like the Texinfo command.
  197. \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows
  198. % beginexample...endexample - surrounds literal text, such a code example.
  199. % typeset in a typewriter font with line breaks preserved
  200. \def\beginexample{\par\leavevmode\begingroup
  201. \obeylines\obeyspaces\parskip0pt\tt}
  202. {\obeyspaces\global\let =\ }
  203. \def\endexample{\endgroup}
  204. % key - definition of a key.
  205. % \key{description of key}{key-name}
  206. % prints the description left-justified, and the key-name in a \kbd
  207. % form near the right margin.
  208. \def\key#1#2{\leavevmode\hbox to \hsize{\vtop
  209. {\hsize=.75\hsize\rightskip=1em
  210. \hskip\keyindent\relax#1}\kbd{#2}\hfil}}
  211. \newbox\metaxbox
  212. \setbox\metaxbox\hbox{\kbd{M-x }}
  213. \newdimen\metaxwidth
  214. \metaxwidth=\wd\metaxbox
  215. % metax - definition of a M-x command.
  216. % \metax{description of command}{M-x command-name}
  217. % Tries to justify the beginning of the command name at the same place
  218. % as \key starts the key name. (The "M-x " sticks out to the left.)
  219. \def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
  220. {\hskip\keyindent\relax#1\hfil}%
  221. \hskip -\metaxwidth minus 1fil
  222. \kbd{#2}\hfil}}
  223. % threecol - like "key" but with two key names.
  224. % for example, one for doing the action backward, and one for forward.
  225. \def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad
  226. &\kbd{#3}\hfil\quad\cr}
  227. %**end of header
  228. \title{Org-Mode Reference Card (1/2)}
  229. \centerline{(for version \orgversionnumber)}
  230. \section{Getting Started}
  231. %
  232. \vskip -1mm
  233. \beginexample%
  234. (add-to-list 'auto-mode-alist '("\\\\.org\$" . org-mode))
  235. (define-key global-map "\\C-cl" 'org-store-link)$^1$
  236. (define-key global-map "\\C-ca" 'org-agenda)$^1$
  237. \endexample
  238. %
  239. \metax{For the many customization options try}{M-x org-customize}
  240. \metax{To read the on-line documentation try}{M-x org-info}
  241. \section{Visibility Cycling}
  242. \key{rotate current subtree between states}{TAB}
  243. \key{rotate entire buffer between states}{S-TAB}
  244. \key{show the whole file}{C-c C-a}
  245. \key{reveal context around point}{C-c C-r}
  246. \key{show subtree in indirect buffer, ded.\ frame}{C-c C-k}
  247. %\key{show branches}{C-c C-k}
  248. \section{Motion}
  249. \key{next/previous heading}{C-c C-n/p}
  250. \key{next/previous heading, same level}{C-c C-f/b}
  251. \key{backward to higher level heading}{C-c C-u}
  252. \key{jump to another place in document}{C-c C-j}
  253. \key{previous/next plain list item}{S-UP/DOWN$^3$}
  254. \section{Structure Editing}
  255. \key{insert new heading/item at current level}{M-RET}
  256. \key{insert new heading after subtree}{C-RET}
  257. \key{insert new TODO entry/checkbox item}{M-S-RET}
  258. \key{promote current heading up one level}{M-LEFT}
  259. \key{demote current heading down one level}{M-RIGHT}
  260. \key{promote current subtree up one level}{M-S-LEFT}
  261. \key{demote current subtree down one level}{M-S-RIGHT}
  262. \key{move subtree/list item up/down}{M-S-UP/DOWN}
  263. \key{kill subtree}{C-c C-x C-w}
  264. \key{copy subtree}{C-c C-x M-w}
  265. \key{yank subtree}{C-c C-x C-y}
  266. \key{narrow buffer to current subtree}{C-x n s}
  267. \section{Archiving}
  268. \key{toggle ARCHIVE tag}{C-c C-x C-a}
  269. %\metax{mark fully done children}{C-u C-c C-x C-a}
  270. \key{force cycling of an ARCHIVEd tree}{C-TAB}
  271. \key{move subtree to archive file}{C-c C-x C-s}
  272. %\metax{move all fully done children}{C-u C-c C-x C-s}
  273. %To set archive location for current file, add a line like$^2$:
  274. %\vskip -1mm
  275. %\beginexample%
  276. %\#+ARCHIVE: archfile::* Archived Tasks
  277. %\endexample
  278. \section{Filtering and Sparse Trees}
  279. \key{show sparse tree for all matches of a regexp}{C-c /}
  280. \key{view TODO's in sparse tree}{C-c C-v}
  281. \key{global TODO list in agenda mode}{C-c t$^1$}
  282. \key{create sparse tree with all deadlines due}{C-c C-w}
  283. \key{time sorted view of current org file}{C-c a L}
  284. %\key{agenda for the week}{C-c a$^1$}
  285. %\key{agenda for date at cursor}{C-c C-o}
  286. \section{Tables}
  287. {\bf Creating a table}
  288. %\metax{insert a new Org-mode table}{M-x org-table-create}
  289. \metax{just start typing, e.g.}{|Name|Phone|Age RET |- TAB}
  290. \key{convert region to table}{C-c |}
  291. \key{... separator at least 3 spaces}{C-3 C-c |}
  292. {\bf Commands available inside tables}
  293. The following commands work when the cursor is {\it inside a table}.
  294. Outside of tables, the same keys may have other functionality.
  295. {\bf Re-aligning and field motion}
  296. \key{re-align the table without moving the cursor}{C-c C-c}
  297. \key{re-align the table, move to next field}{TAB}
  298. \key{move to previous field}{S-TAB}
  299. \key{re-align the table, move to next row}{RET}
  300. {\bf Row and column editing}
  301. \key{move the current column left}{M-LEFT/RIGHT}
  302. \key{kill the current column}{M-S-LEFT}
  303. \key{insert new column to left of cursor position}{M-S-RIGHT}
  304. \key{move the current row up/down}{M-UP/DOWN}
  305. \key{kill the current row or horizontal line}{M-S-UP}
  306. \key{insert new row above the current row}{M-S-DOWN}
  307. \key{insert hline below (\kbd{C-u} : above) current row}{C-c -}
  308. \key{sort lines in region}{C-c \^{}}
  309. {\bf Regions}
  310. \key{cut rectangular region}{C-c C-x C-w}
  311. \key{copy rectangular region}{C-c C-x M-w}
  312. \key{paste rectangular region}{C-c C-x C-y}
  313. \key{fill paragraph across selected cells}{C-c C-q}
  314. {\bf Miscellaneous}
  315. \key{to limit column width to \kbd{N} characters, use}{...| <N> |...}
  316. \key{edit the current field in a separate window}{C-c `}
  317. \key{make current field fully visible}{C-u TAB}
  318. \metax{export as tab-separated file}{M-x org-table-export}
  319. \metax{import tab-separated file}{M-x org-table-import}
  320. \key{sum numbers in current column/rectangle}{C-c +}
  321. {\bf Tables created with the \kbd{table.el} package}
  322. \key{insert a new \kbd{table.el} table}{C-c ~}
  323. \key{recognize existing table.el table}{C-c C-c}
  324. \key{convert table (Org-mode $\leftrightarrow$ table.el)}{C-c ~}
  325. {\bf Spreadsheet}
  326. Formulas typed in field are executed by \kbd{TAB},
  327. \kbd{RET} and \kbd{C-c C-c}. \kbd{=} introduces a column
  328. formula, \kbd{:=} a field formula.
  329. \key{Example: Add Col1 and Col2}{|=\$1+\$2 |}
  330. \key{... with printf format specification}{|=\$1+\$2;\%.2f|}
  331. \key{... with constants from constants.el}{|=\$1/\$c/\$cm |}
  332. \metax{sum from 2nd to 3rd hline}{|:=vsum(@II..@III)|}
  333. \key{apply current column formula}{| = |}
  334. \key{set and eval column formula}{C-c =}
  335. \key{set and eval field formula}{C-u C-c =}
  336. \key{re-apply all stored equations to current line}{C-c *}
  337. \key{re-apply all stored equations to entire table}{C-u C-c *}
  338. \key{iterate table to stability}{C-u C-u C-c *}
  339. \key{rotate calculation mark through \# * ! \^ \_ \$}{C-\#}
  340. \key{show line, column, formula reference}{C-c ?}
  341. \key{toggle coordinate grid}{C-c \}}
  342. \key{toggle formula debugger}{C-c \{}
  343. \newcolumn
  344. {\it Formula Editor}
  345. \key{edit formulas in separate buffer}{C-c '}
  346. \key{exit and install new formulas}{C-c C-c}
  347. \key{exit, install, and apply new formulas}{C-u C-c C-c}
  348. \key{abort}{C-c C-q}
  349. \key{toggle reference style}{C-c C-r}
  350. \key{pretty-print Lisp formula}{TAB}
  351. \key{complete Lisp symbol}{M-TAB}
  352. \key{shift reference point}{S-cursor}
  353. \key{shift test line for column references}{M-up/down}
  354. \key{scroll the window showing the table}{M-S-up/down}
  355. \key{toggle table coordinate grid}{C-c \}}
  356. \section{Links}
  357. \key{globally store link to the current location}{C-c l$^1$}
  358. \key{insert a link (TAB completes stored links)}{C-c C-l}
  359. \key{insert file link with file name completion}{C-u C-c C-l}
  360. \key{edit (also hidden part of) link at point}{C-c C-l}
  361. \key{open file links in emacs}{C-c C-o}
  362. \key{...force open in emacs/other window}{C-u C-c C-o}
  363. \key{open link at point}{mouse-1/2}
  364. \key{...force open in emacs/other window}{mouse-3}
  365. \key{record a position in mark ring}{C-c \%}
  366. \key{jump back to last followed link(s)}{C-c \&}
  367. \key{Find next link}{C-c C-x C-n}
  368. \key{Find previous link}{C-c C-x C-p}
  369. {\bf Internal Links}
  370. \key{\kbd{<<My Target>>}}{\rm target}
  371. \key{\kbd{<<<My Target>>>}}{\rm radio target$^2$}
  372. \key{\kbd{[[*this text]]}}{\rm find headline}
  373. \metax{\kbd{[[this text]]}}{\rm find target or text in buffer}
  374. \metax{\kbd{[[this text][description]]}}{\rm optional link text}
  375. {\bf External Links}
  376. \key{\kbd{file:/home/dominik/img/mars.jpg}}{\rm file, absolute}
  377. \key{\kbd{file:papers/last.pdf}}{\rm file, relative}
  378. \key{\kbd{file:projects.org::*that text}}{\rm find headline}
  379. \key{\kbd{file:projects.org::find me}}{\rm find trgt/string}
  380. %\key{\kbd{file:projects.org::/regexp/}}{\rm regexp search}
  381. \key{\kbd{http://www.astro.uva.nl/~dominik}}{\rm on the web}
  382. \key{\kbd{mailto:adent@galaxy.net}}{\rm Email address}
  383. \key{\kbd{news:comp.emacs}}{\rm Usenet group}
  384. \key{\kbd{bbdb:Richard Stallman}}{\rm BBDB person}
  385. \key{\kbd{gnus:group}}{\rm GNUS group}
  386. \key{\kbd{gnus:group\#id}}{\rm GNUS message}
  387. \key{\kbd{vm|wl|mhe|rmail:folder}}{\rm Mail folder}
  388. \key{\kbd{vm|wl|mhe|rmail:folder\#id}}{\rm Mail message}
  389. \key{\kbd{info:emacs:Regexps}}{\rm Info file:node}
  390. \key{\kbd{shell:ls *.org}}{\rm shell command}
  391. \key{\kbd{elisp:(calendar)}}{\rm elisp form}
  392. \metax{\kbd{[[external link][description]]}}{\rm optional link text}
  393. %\key{\kbd{vm://myself@some.where.org/folder\#id}}{\rm VM remote}
  394. % \section{Remember-mode Integration}
  395. % See the manual for how to make remember.el use Org-mode links and
  396. % files. The note-finishing command \kbd{C-c C-c} will first prompt for
  397. % an org file. In the file, find a location with:
  398. % \key{rotate subtree visibility}{TAB}
  399. % \key{next heading}{DOWN}
  400. % \key{previous heading}{UP}
  401. % Insert the note with one of the following:
  402. % \key{as sublevel of heading at cursor}{RET}
  403. % \key{right here (cursor not on heading)}{RET}
  404. % \key{before current heading}{LEFT}
  405. % \key{after current heading}{RIGHT}
  406. % \key{shortcut to end of buffer (cursor at buf-start)}{RET}
  407. % \key{Abort}{q}
  408. \section{Completion}
  409. In-buffer completion completes TODO keywords at headline start, TeX
  410. macros after ``{\tt \\}'', option keywords after ``{\tt \#-}'', TAGS
  411. after ``{\tt :}'', and dictionary words elsewhere.
  412. \key{Complete word at point}{M-TAB}
  413. \newcolumn
  414. \title{Org-Mode Reference Card (2/2)}
  415. \centerline{(for version \orgversionnumber)}
  416. \section{TODO Items and Checkboxes}
  417. \key{rotate the state of the current item}{C-c C-t}
  418. \metax{select next/previous state}{S-LEFT/RIGHT}
  419. \metax{select next/previous set}{C-S-LEFT/RIGHT}
  420. \key{view TODO items in a sparse tree}{C-c C-v}
  421. \key{view 3rd TODO keyword's sparse tree}{C-3 C-c C-v}
  422. \key{set the priority of the current item}{C-c , [ABC]}
  423. \key{remove priority cookie from current item}{C-c , SPC}
  424. \key{raise/lower priority of current item}{S-UP/DOWN$^3$}
  425. %\key{lower priority of current item}{S-DOWN$^3$}
  426. %\key{\kbd{\#+SEQ_TODO: TODO TRY BLUFF DONE}}{\rm todo workflow}
  427. %\key{\kbd{\#+TYP_TODO: Phil home work DONE}}{\rm todo types}
  428. \key{insert new checkbox item in plain list}{M-S-RET}
  429. \key{toggle checkbox(es) in region/entry/at point}{C-c C-x C-b}
  430. \key{toggle checkbox at point}{C-c C-c}
  431. \metax{checkbox statistics cookies: insert {\tt [/]} or {\tt [\%]}}{}
  432. \key{update checkbox statistics (\kbd{C-u} : whole file)}{C-c \#}
  433. \section{Tags}
  434. \key{set tags for current heading}{C-c C-c}
  435. \key{realign tags in all headings}{C-u C-c C-c}
  436. \key{create sparse tree with matching tags}{C-c \\}
  437. \key{globally (agenda) match tags at cursor}{C-c C-o}
  438. \section{Properties and Column View}
  439. \key{set property}{C-c C-x p}
  440. \key{special commands in property lines}{C-c C-c}
  441. \key{next/previous allowed value}{S-left/right}
  442. \key{turn on column view}{C-c C-x C-c}
  443. \key{capture columns view in dynamic block}{C-c C-x r}
  444. \key{quit column view}{q}
  445. \key{next/previous allowed value}{S-left/right}
  446. \key{next/previous allowed value}{n / p}
  447. \key{edit value}{e}
  448. \key{edit allowed values list}{a}
  449. \key{show value}{v}
  450. \key{make column wider/narrower}{> / <}
  451. \key{move column left/right}{M-left/right}
  452. \key{add new column}{M-S-right}
  453. \key{Delete current column}{M-S-left}
  454. \section{Timestamps}
  455. \key{prompt for date and insert timestamp}{C-c .}
  456. \key{like \kbd{C-c} . but insert date and time format}{C-u C-c .}
  457. \key{Like \kbd{C-c .} but make stamp inactive}{C-c !} % FIXME
  458. \key{insert DEADLINE timestamp}{C-c C-d}
  459. \key{insert SCHEDULED timestamp}{C-c C-s}
  460. \key{create sparse tree with all deadlines due}{C-c C-w}
  461. \key{the time between 2 dates in a time range}{C-c C-y}
  462. \key{change timestamp at cursor by $\pm 1$ day}{S-RIGHT/LEFT$^3$}
  463. \key{change year/month/day at cursor by $\pm 1$}{S-UP/DOWN$^3$}
  464. \key{access the calendar for the current date}{C-c >}
  465. \key{insert timestamp matching date in calendar}{C-c <}
  466. \key{access agenda for current date}{C-c C-o}
  467. \key{Select date while prompted}{mouse-1/RET}
  468. %\key{... select date in calendar}{mouse-1/RET}
  469. %\key{... scroll calendar back/forward one month}{< / >}
  470. %\key{... forward/backward one day}{S-LEFT/RIGHT}
  471. %\key{... forward/backward one week}{S-UP/DOWN}
  472. %\key{... forward/backward one month}{M-S-LEFT/RIGT}
  473. \key{Toggle custom format display for dates/times}{C-c C-x C-t}
  474. \newcolumn
  475. {\bf Clocking time}
  476. \key{start clock on current item}{C-c C-x C-i}
  477. \key{stop clock on current item}{C-c C-x C-o}
  478. \key{cancel current clock}{C-c C-x C-x}
  479. \key{display total subtree times}{C-c C-x C-d}
  480. \key{remove displayed times}{C-c C-c}
  481. \key{insert/update table with clock report}{C-c C-x C-r}
  482. \section{Agenda Views}
  483. \key{add/move current file to front of agenda}{C-c [}
  484. \key{remove current file from your agenda}{C-c ]}
  485. \key{cycle through agenda file list}{C-'}
  486. \key{compile agenda for the current week}{C-c a a$^1$}
  487. \key{compile global TODO list}{C-c a t$^1$}
  488. \key{compile TODO list for specific keyword}{C-c a T$^1$}
  489. \key{match tags in agenda files}{C-c a m$^1$}
  490. \key{match tags in TODO entries}{C-c a M$^1$}
  491. \key{find stuck projects}{C-c a \#$^1$}
  492. \key{show timeline of current org file}{C-c a L$^1$}
  493. \key{configure custom commands}{C-c a C$^1$}
  494. \key{configure stuck projects}{C-c a !$^1$}
  495. \key{agenda for date at cursor}{C-c C-o}
  496. {\bf Commands available in an agenda buffer}
  497. {\bf View Org file}
  498. \key{show original location of item}{SPC/mouse-3}
  499. %\key{... also available with}{mouse-3}
  500. \key{show and recenter window}{L}
  501. \key{goto original location in other window}{TAB/mouse-2}
  502. %\key{... also available with}{mouse-2}
  503. \key{goto original location, delete other windows}{RET}
  504. \key{show subtree in indirect buffer, ded.\ frame}{b}
  505. \key{toggle follow-mode}{f}
  506. {\bf Change display}
  507. \key{delete other windows}{o}
  508. \key{switch to day/week/month/year view}{d w m y}
  509. \key{toggle inclusion of diary entries}{D}
  510. \key{toggle time grid for daily schedule}{g}
  511. \key{toggle display of logbook entries}{l}
  512. \key{refresh agenda buffer with any changes}{r}
  513. \key{save all org-mode buffers}{s}
  514. \key{display the following \kbd{org-agenda-ndays}}{RIGHT}
  515. \key{display the previous \kbd{org-agenda-ndays}}{LEFT}
  516. \key{goto today}{.}
  517. {\bf Remote editing}
  518. \key{digit argument}{0-9}
  519. \key{change state of current TODO item}{t}
  520. \key{kill item and source}{C-k}
  521. \key{archive the subtree}{\$}
  522. \key{show tags of current headline}{T}
  523. \key{set tags for current headline/region}{:}
  524. \key{toggle ARCHIVE tag}{a}
  525. \key{set priority of current item}{p}
  526. \key{raise/lower priority of current item}{S-UP/DOWN$^3$}
  527. \key{display weighted priority of current item}{P}
  528. \key{schedule/set deadline for this item}{C-c C-s/d}
  529. \key{change timestamp to one day earlier/later}{S-LEFT/RIGHT$^3$}
  530. \key{change timestamp to today}{>}
  531. \key{insert new entry into diary}{i}
  532. \newcolumn
  533. \key{start/stop/cancel the clock on current item}{I / O / X}
  534. \key{jump to running clock entry}{J}
  535. {\bf Misc}
  536. \key{Open link in current line}{C-c C-o}
  537. {\bf Calendar commands}
  538. \key{find agenda cursor date in calendar}{c}
  539. \key{compute agenda for calendar cursor date}{c}
  540. \key{show phases of the moon}{M}
  541. \key{show sunrise/sunset times}{S}
  542. \key{show holidays}{H}
  543. \key{convert date to other calendars}{C}
  544. {\bf Quit and Exit}
  545. \key{quit agenda, remove agenda buffer}{q}
  546. \key{exit agenda, remove all agenda buffers}{x}
  547. \section{Calendar and Diary Integration}
  548. Include Emacs diary entries into Org-mode agenda with:
  549. \beginexample%
  550. (setq org-agenda-include-diary t)
  551. \endexample
  552. \section{LaTeX and cdlatex-mode}
  553. \key{preview LaTeX fragment}{C-c C-x C-l}
  554. \key{Expand abbreviation (cdlatex-mode)}{TAB}
  555. \key{Insert/modify math symbol (cdlatex-mode)}{` / '}
  556. \section{Exporting and Publishing}
  557. Exporting creates files with extensions {\it .txt\/} and {\it .html\/}
  558. in the current directory. Publishing puts the resulting file into
  559. some other place.
  560. \key{export/publish dispatcher}{C-c C-e}
  561. \key{export visible part only}{C-c C-e v}
  562. \key{insert template of export options}{C-c C-x t}
  563. \key{toggle fixed width for entry or region}{C-c :}
  564. %{\bf HTML formatting}
  565. %\key{make words {\bf bold}}{*bold*}
  566. %\key{make words {\it italic}}{/italic/}
  567. %\key{make words \underbar{underlined}}{_underlined_}
  568. %\key{sub- and superscripts}{x\^{}3, J_dust}
  569. %\key{\TeX{}-like macros}{\\alpha, \\to}
  570. %\key{typeset lines in fixed width font}{start with :}
  571. %\key{tables are exported as HTML tables}{start with |}
  572. %\key{links become HTML links}{http:... etc}
  573. %\key{include html tags}{@<b>...@</b>}
  574. %{\bf Export options}
  575. %
  576. %Include additional information for export by putting these anywhere in the
  577. %org file. Use {\tt M-TAB} completion to make sure to get the right
  578. %keywords. {\tt M-TAB} again just after keyword is complete inserts examples.
  579. %
  580. %\key{the title to be shown}{\#+TITLE:}
  581. %\key{the author}{\#+AUTHOR:}
  582. %\key{authors email address}{\#+EMAIL:}
  583. %\key{language code for html}{\#+LANGUAGE:}
  584. %\key{free text description of file}{\#+TEXT:}
  585. %\key{... which can carry over multiple lines}{\#+TEXT:}
  586. %\key{settings for the export process}{\#+OPTIONS:}
  587. %\key{set number of headline levels for export}{H:2}
  588. %\key{turn on/off section numbers}{num:t}
  589. %\key{turn on/off table of contents}{toc:t}
  590. %\key{turn on/off linebreak preservation}{\\n:nil}
  591. %\key{turn on/off quoted html tags}{@:t}
  592. %\key{turn on/off fixed width sections}{::t}
  593. %\key{turn on/off tables}{|:t}
  594. %\key{turn on/off \TeX\ syntax for sub/super-scripts}{\^{}:t}
  595. %\key{turn on/off emphasised text}{*:nil}
  596. %\key{turn on/off \TeX\ macros}{TeX:t}
  597. {\bf Comments: Text not being exported}
  598. Text before the first headline is not considered part of the document
  599. and is therefore never exported.
  600. Lines starting with \kbd{\#} are comments and are not exported.
  601. Subtrees whose header starts with COMMENT are never exported.
  602. \key{toggle COMMENT keyword on entry}{C-c ;}
  603. \section{Dynamic Blocks}
  604. \key{update dynamic block at point}{C-c C-x C-u}
  605. \metax{update all dynamic blocks}{C-u C-c C-x C-u}
  606. \section{Notes}
  607. $^1$ This is only a suggestion for a binding of this command. Choose
  608. you own key as shown under INSTALLATION.
  609. $^2$ After changing a \kbd{\#+KEYWORD} or \kbd{<<<target>>>} line,
  610. press \kbd{C-c C-c} with the cursor still in the line to update.
  611. $^3$ Keybinding affected by {\tt org-CUA-compatibility}.
  612. \copyrightnotice
  613. \bye
  614. % Local variables:
  615. % compile-command: "tex refcard"
  616. % End:
  617. % arch-tag: 139f6750-5cfc-49ca-92b5-237fe5795290