orgcard.tex 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777
  1. % Reference Card for Org Mode
  2. \def\orgversionnumber{6.11a}
  3. \def\versionyear{2008} % latest update
  4. \def\year{2008} % 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, 2005,
  16. % 2006, 2007, 2008 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 3 of the License, or
  21. % (at your option) 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. If not, see <http://www.gnu.org/licenses/>.
  28. % This file is intended to be processed by plain TeX (TeX82).
  29. %
  30. % The final reference card has six columns, three on each side.
  31. % This file can be used to produce it in any of three ways:
  32. % 1 column per page
  33. % produces six separate pages, each of which needs to be reduced to 80%.
  34. % This gives the best resolution.
  35. % 2 columns per page
  36. % produces three already-reduced pages.
  37. % You will still need to cut and paste.
  38. % 3 columns per page
  39. % produces two pages which must be printed sideways to make a
  40. % ready-to-use 8.5 x 11 inch reference card.
  41. % For this you need a dvi device driver that can print sideways.
  42. % Which mode to use is controlled by setting \columnsperpage above.
  43. %
  44. % To compile and print this document:
  45. % tex refcard.tex
  46. % dvips -t landscape refcard.dvi
  47. %
  48. % Author:
  49. % Stephen Gildea
  50. % Internet: gildea@stop.mail-abuse.org
  51. %
  52. % Thanks to Paul Rubin, Bob Chassell, Len Tower, and Richard Mlynarik
  53. % for their many good ideas.
  54. \def\shortcopyrightnotice{\vskip 1ex plus 2 fill
  55. \centerline{\small \copyright\ \year\ Free Software Foundation, Inc.
  56. Permissions on back. v\orgversionnumber}}
  57. \def\copyrightnotice{
  58. \vskip 1ex plus 100 fill\begingroup\small
  59. \centerline{Copyright \copyright\ \year\ Free Software Foundation, Inc.}
  60. \centerline{v\orgversionnumber{} for Org-Mode \orgversionnumber{}, \versionyear}
  61. \centerline{Author: Philip Rooke}
  62. \centerline{based on refcard design and format by Stephen Gildea}
  63. Permission is granted to make and distribute copies of
  64. this card provided the copyright notice and this permission notice
  65. are preserved on all copies.
  66. \endgroup}
  67. % make \bye not \outer so that the \def\bye in the \else clause below
  68. % can be scanned without complaint.
  69. \def\bye{\par\vfill\supereject\end}
  70. \newdimen\intercolumnskip %horizontal space between columns
  71. \newbox\columna %boxes to hold columns already built
  72. \newbox\columnb
  73. \def\ncolumns{\the\columnsperpage}
  74. \message{[\ncolumns\space
  75. column\if 1\ncolumns\else s\fi\space per page]}
  76. \def\scaledmag#1{ scaled \magstep #1}
  77. % This multi-way format was designed by Stephen Gildea October 1986.
  78. % Note that the 1-column format is fontfamily-independent.
  79. \if 1\ncolumns %one-column format uses normal size
  80. \hsize 4in
  81. \vsize 10in
  82. \voffset -.7in
  83. \font\titlefont=\fontname\tenbf \scaledmag3
  84. \font\headingfont=\fontname\tenbf \scaledmag2
  85. \font\smallfont=\fontname\sevenrm
  86. \font\smallsy=\fontname\sevensy
  87. \footline{\hss\folio}
  88. \def\makefootline{\baselineskip10pt\hsize6.5in\line{\the\footline}}
  89. \else %2 or 3 columns uses prereduced size
  90. \if 1\the\letterpaper
  91. \hsize 3.2in
  92. \vsize 7.95in
  93. \hoffset -.75in
  94. \voffset -.745in
  95. \else
  96. \hsize 3.2in
  97. \vsize 7.65in
  98. \hoffset -.25in
  99. \voffset -.745in
  100. \fi
  101. \font\titlefont=cmbx10 \scaledmag2
  102. \font\headingfont=cmbx10 \scaledmag1
  103. \font\smallfont=cmr6
  104. \font\smallsy=cmsy6
  105. \font\eightrm=cmr8
  106. \font\eightbf=cmbx8
  107. \font\eightit=cmti8
  108. \font\eighttt=cmtt8
  109. \font\eightmi=cmmi8
  110. \font\eightsy=cmsy8
  111. \textfont0=\eightrm
  112. \textfont1=\eightmi
  113. \textfont2=\eightsy
  114. \def\rm{\eightrm}
  115. \def\bf{\eightbf}
  116. \def\it{\eightit}
  117. \def\tt{\eighttt}
  118. \if 1\the\letterpaper
  119. \normalbaselineskip=.8\normalbaselineskip
  120. \else
  121. \normalbaselineskip=.7\normalbaselineskip
  122. \fi
  123. \normallineskip=.8\normallineskip
  124. \normallineskiplimit=.8\normallineskiplimit
  125. \normalbaselines\rm %make definitions take effect
  126. \if 2\ncolumns
  127. \let\maxcolumn=b
  128. \footline{\hss\rm\folio\hss}
  129. \def\makefootline{\vskip 2in \hsize=6.86in\line{\the\footline}}
  130. \else \if 3\ncolumns
  131. \let\maxcolumn=c
  132. \nopagenumbers
  133. \else
  134. \errhelp{You must set \columnsperpage equal to 1, 2, or 3.}
  135. \errmessage{Illegal number of columns per page}
  136. \fi\fi
  137. \intercolumnskip=.46in
  138. \def\abc{a}
  139. \output={% %see The TeXbook page 257
  140. % This next line is useful when designing the layout.
  141. %\immediate\write16{Column \folio\abc\space starts with \firstmark}
  142. \if \maxcolumn\abc \multicolumnformat \global\def\abc{a}
  143. \else\if a\abc
  144. \global\setbox\columna\columnbox \global\def\abc{b}
  145. %% in case we never use \columnb (two-column mode)
  146. \global\setbox\columnb\hbox to -\intercolumnskip{}
  147. \else
  148. \global\setbox\columnb\columnbox \global\def\abc{c}\fi\fi}
  149. \def\multicolumnformat{\shipout\vbox{\makeheadline
  150. \hbox{\box\columna\hskip\intercolumnskip
  151. \box\columnb\hskip\intercolumnskip\columnbox}
  152. \makefootline}\advancepageno}
  153. \def\columnbox{\leftline{\pagebody}}
  154. \def\bye{\par\vfill\supereject
  155. \if a\abc \else\null\vfill\eject\fi
  156. \if a\abc \else\null\vfill\eject\fi
  157. \end}
  158. \fi
  159. % we won't be using math mode much, so redefine some of the characters
  160. % we might want to talk about
  161. %\catcode`\^=12
  162. \catcode`\_=12
  163. % we also need the tilde, for file names.
  164. \catcode`\~=12
  165. \chardef\\=`\\
  166. \chardef\{=`\{
  167. \chardef\}=`\}
  168. \hyphenation{mini-buf-fer}
  169. \parindent 0pt
  170. \parskip 1ex plus .5ex minus .5ex
  171. \def\small{\smallfont\textfont2=\smallsy\baselineskip=.8\baselineskip}
  172. % newcolumn - force a new column. Use sparingly, probably only for
  173. % the first column of a page, which should have a title anyway.
  174. \outer\def\newcolumn{\vfill\eject}
  175. % title - page title. Argument is title text.
  176. \outer\def\title#1{{\titlefont\centerline{#1}}\vskip 1ex plus .5ex}
  177. % section - new major section. Argument is section name.
  178. \outer\def\section#1{\par\filbreak
  179. \vskip 3ex plus 2ex minus 2ex {\headingfont #1}\mark{#1}%
  180. \vskip 2ex plus 1ex minus 1.5ex}
  181. \newdimen\keyindent
  182. % beginindentedkeys...endindentedkeys - key definitions will be
  183. % indented, but running text, typically used as headings to group
  184. % definitions, will not.
  185. \def\beginindentedkeys{\keyindent=1em}
  186. \def\endindentedkeys{\keyindent=0em}
  187. \endindentedkeys
  188. % paralign - begin paragraph containing an alignment.
  189. % If an \halign is entered while in vertical mode, a parskip is never
  190. % inserted. Using \paralign instead of \halign solves this problem.
  191. \def\paralign{\vskip\parskip\halign}
  192. % \<...> - surrounds a variable name in a code example
  193. \def\<#1>{{\it #1\/}}
  194. % kbd - argument is characters typed literally. Like the Texinfo command.
  195. \def\kbd#1{{\tt#1}\null} %\null so not an abbrev even if period follows
  196. % beginexample...endexample - surrounds literal text, such a code example.
  197. % typeset in a typewriter font with line breaks preserved
  198. \def\beginexample{\par\leavevmode\begingroup
  199. \obeylines\obeyspaces\parskip0pt\tt}
  200. {\obeyspaces\global\let =\ }
  201. \def\endexample{\endgroup}
  202. % key - definition of a key.
  203. % \key{description of key}{key-name}
  204. % prints the description left-justified, and the key-name in a \kbd
  205. % form near the right margin.
  206. \def\key#1#2{\leavevmode\hbox to \hsize{\vtop
  207. {\hsize=.75\hsize\rightskip=1em
  208. \hskip\keyindent\relax#1}\kbd{#2}\hfil}}
  209. \newbox\metaxbox
  210. \setbox\metaxbox\hbox{\kbd{M-x }}
  211. \newdimen\metaxwidth
  212. \metaxwidth=\wd\metaxbox
  213. % metax - definition of a M-x command.
  214. % \metax{description of command}{M-x command-name}
  215. % Tries to justify the beginning of the command name at the same place
  216. % as \key starts the key name. (The "M-x " sticks out to the left.)
  217. \def\metax#1#2{\leavevmode\hbox to \hsize{\hbox to .75\hsize
  218. {\hskip\keyindent\relax#1\hfil}%
  219. \hskip -\metaxwidth minus 1fil
  220. \kbd{#2}\hfil}}
  221. % threecol - like "key" but with two key names.
  222. % for example, one for doing the action backward, and one for forward.
  223. \def\threecol#1#2#3{\hskip\keyindent\relax#1\hfil&\kbd{#2}\hfil\quad
  224. &\kbd{#3}\hfil\quad\cr}
  225. %**end of header
  226. \title{Org-Mode Reference Card (1/2)}
  227. \centerline{(for version \orgversionnumber)}
  228. \section{Getting Started}
  229. %
  230. \vskip -1mm
  231. \beginexample%
  232. (add-to-list 'auto-mode-alist '("\\\\.org\$" . org-mode))
  233. (define-key global-map "\\C-cl" 'org-store-link)$^1$
  234. (define-key global-map "\\C-ca" 'org-agenda)$^1$
  235. \endexample
  236. %
  237. \metax{For the many customization options try}{M-x org-customize}
  238. \metax{To read the on-line documentation try}{M-x org-info}
  239. \section{Visibility Cycling}
  240. \key{rotate current subtree between states}{TAB}
  241. \key{rotate entire buffer between states}{S-TAB}
  242. \key{restore property-dependent startup visibility}{C-u C-u TAB}
  243. \metax{show the whole file, including drawers}{C-u C-u C-u TAB}
  244. \key{reveal context around point}{C-c C-r}
  245. \section{Motion}
  246. \key{next/previous heading}{C-c C-n/p}
  247. \key{next/previous heading, same level}{C-c C-f/b}
  248. \key{backward to higher level heading}{C-c C-u}
  249. \key{jump to another place in document}{C-c C-j}
  250. \key{previous/next plain list item}{S-UP/DOWN$^3$}
  251. \section{Structure Editing}
  252. \key{insert new heading/item at current level}{M-RET}
  253. \key{insert new heading after subtree}{C-RET}
  254. \key{insert new TODO entry/checkbox item}{M-S-RET}
  255. \key{insert TODO entry/ckbx after subtree}{C-S-RET}
  256. \key{promote/demote heading}{M-LEFT/RIGHT}
  257. \metax{promote/demote current subtree}{M-S-LEFT/RIGHT}
  258. \key{move subtree/list item up/down}{M-S-UP/DOWN}
  259. \key{refile subtree}{C-c C-w}
  260. \key{kill subtree}{C-c C-x C-w}
  261. \key{copy subtree}{C-c C-x M-w}
  262. \metax{yank subtree}{C-c C-x C-y or C-y}
  263. \key{narrow buffer to current subtree}{C-x n s}
  264. \key{widen restriction to full buffer}{C-x n w}
  265. \section{Archiving}
  266. \key{toggle ARCHIVE tag}{C-c C-x a}
  267. \key{force cycling of an ARCHIVEd tree}{C-TAB}
  268. \key{move to Attic Sibling}{C-c C-x A}
  269. %\metax{mark fully done children}{C-u C-c C-x C-a}
  270. \key{move subtree to archive file}{C-c C-x C-s}
  271. %\metax{move all fully done children}{C-u C-c C-x C-s}
  272. %To set archive location for current file, add a line like$^2$:
  273. %\vskip -1mm
  274. %\beginexample%
  275. %\#+ARCHIVE: archfile::* Archived Tasks
  276. %\endexample
  277. \section{Filtering and Sparse Trees}
  278. % FIXME: this is garbage
  279. \key{construct a sparse tree by various criteria}{C-c /}
  280. \key{view TODO's in sparse tree}{C-c C-v}
  281. \key{global TODO list in agenda mode}{C-c a t$^1$}
  282. \key{time sorted view of current org file}{C-c a L}
  283. %\key{agenda for the week}{C-c a$^1$}
  284. %\key{agenda for date at cursor}{C-c C-o}
  285. \section{Tables}
  286. {\bf Creating a table}
  287. %\metax{insert a new Org-mode table}{M-x org-table-create}
  288. \metax{just start typing, e.g.}{|Name|Phone|Age RET |- TAB}
  289. \key{convert region to table}{C-c |}
  290. \key{... separator at least 3 spaces}{C-3 C-c |}
  291. {\bf Commands available inside tables}
  292. The following commands work when the cursor is {\it inside a table}.
  293. Outside of tables, the same keys may have other functionality.
  294. {\bf Re-aligning and field motion}
  295. \key{re-align the table without moving the cursor}{C-c C-c}
  296. \key{re-align the table, move to next field}{TAB}
  297. \key{move to previous field}{S-TAB}
  298. \key{re-align the table, move to next row}{RET}
  299. {\bf Row and column editing}
  300. \key{move the current column left}{M-LEFT/RIGHT}
  301. \key{kill the current column}{M-S-LEFT}
  302. \key{insert new column to left of cursor position}{M-S-RIGHT}
  303. \key{move the current row up/down}{M-UP/DOWN}
  304. \key{kill the current row or horizontal line}{M-S-UP}
  305. \key{insert new row above the current row}{M-S-DOWN}
  306. \key{insert hline below (\kbd{C-u} : above) current row}{C-c -}
  307. \key{sort lines in region}{C-c \^{}}
  308. {\bf Regions}
  309. \key{cut rectangular region}{C-c C-x C-w}
  310. \key{copy rectangular region}{C-c C-x M-w}
  311. \key{paste rectangular region}{C-c C-x C-y}
  312. \key{fill paragraph across selected cells}{C-c C-q}
  313. {\bf Miscellaneous}
  314. \key{to limit column width to \kbd{N} characters, use}{...| <N> |...}
  315. \key{edit the current field in a separate window}{C-c `}
  316. \key{make current field fully visible}{C-u TAB}
  317. \metax{export as tab-separated file}{M-x org-table-export}
  318. \metax{import tab-separated file}{M-x org-table-import}
  319. \key{sum numbers in current column/rectangle}{C-c +}
  320. {\bf Tables created with the \kbd{table.el} package}
  321. \key{insert a new \kbd{table.el} table}{C-c ~}
  322. \key{recognize existing table.el table}{C-c C-c}
  323. \key{convert table (Org-mode $\leftrightarrow$ table.el)}{C-c ~}
  324. {\bf Spreadsheet}
  325. Formulas typed in field are executed by \kbd{TAB},
  326. \kbd{RET} and \kbd{C-c C-c}. \kbd{=} introduces a column
  327. formula, \kbd{:=} a field formula.
  328. \key{Example: Add Col1 and Col2}{|=\$1+\$2 |}
  329. \key{... with printf format specification}{|=\$1+\$2;\%.2f|}
  330. \key{... with constants from constants.el}{|=\$1/\$c/\$cm |}
  331. \metax{sum from 2nd to 3rd hline}{|:=vsum(@II..@III)|}
  332. \key{apply current column formula}{| = |}
  333. \key{set and eval column formula}{C-c =}
  334. \key{set and eval field formula}{C-u C-c =}
  335. \key{re-apply all stored equations to current line}{C-c *}
  336. \key{re-apply all stored equations to entire table}{C-u C-c *}
  337. \key{iterate table to stability}{C-u C-u C-c *}
  338. \key{rotate calculation mark through \# * ! \^ \_ \$}{C-\#}
  339. \key{show line, column, formula reference}{C-c ?}
  340. \key{toggle coordinate grid}{C-c \}}
  341. \key{toggle formula debugger}{C-c \{}
  342. \newcolumn
  343. {\it Formula Editor}
  344. \key{edit formulas in separate buffer}{C-c '}
  345. \key{exit and install new formulas}{C-c C-c}
  346. \key{exit, install, and apply new formulas}{C-u C-c C-c}
  347. \key{abort}{C-c C-q}
  348. \key{toggle reference style}{C-c C-r}
  349. \key{pretty-print Lisp formula}{TAB}
  350. \key{complete Lisp symbol}{M-TAB}
  351. \key{shift reference point}{S-cursor}
  352. \key{shift test line for column references}{M-up/down}
  353. \key{scroll the window showing the table}{M-S-up/down}
  354. \key{toggle table coordinate grid}{C-c \}}
  355. \section{Links}
  356. \key{globally store link to the current location}{C-c l$^1$}
  357. \key{insert a link (TAB completes stored links)}{C-c C-l}
  358. \key{insert file link with file name completion}{C-u C-c C-l}
  359. \key{edit (also hidden part of) link at point}{C-c C-l}
  360. \key{open file links in emacs}{C-c C-o}
  361. \key{...force open in emacs/other window}{C-u C-c C-o}
  362. \key{open link at point}{mouse-1/2}
  363. \key{...force open in emacs/other window}{mouse-3}
  364. \key{record a position in mark ring}{C-c \%}
  365. \key{jump back to last followed link(s)}{C-c \&}
  366. \key{find next link}{C-c C-x C-n}
  367. \key{find previous link}{C-c C-x C-p}
  368. \key{edit code snippet of file at point}{C-c '}
  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-q}
  435. \key{realign tags in all headings}{C-u C-c C-q}
  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 i}
  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 / d}
  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{set/remove restriction lock}{C-c C-x </>}
  487. \key{compile agenda for the current week}{C-c a a$^1$}
  488. \key{compile global TODO list}{C-c a t$^1$}
  489. \key{compile TODO list for specific keyword}{C-c a T$^1$}
  490. \key{match tags, TODO kwds, properties}{C-c a m$^1$}
  491. \key{match only in TODO entries}{C-c a M$^1$}
  492. \key{find stuck projects}{C-c a \#$^1$}
  493. \key{show timeline of current org file}{C-c a L$^1$}
  494. \key{configure custom commands}{C-c a C$^1$}
  495. %\key{configure stuck projects}{C-c a !$^1$}
  496. \key{agenda for date at cursor}{C-c C-o}
  497. {\bf Commands available in an agenda buffer}
  498. {\bf View Org file}
  499. \key{show original location of item}{SPC/mouse-3}
  500. %\key{... also available with}{mouse-3}
  501. \key{show and recenter window}{L}
  502. \key{goto original location in other window}{TAB/mouse-2}
  503. %\key{... also available with}{mouse-2}
  504. \key{goto original location, delete other windows}{RET}
  505. \key{show subtree in indirect buffer, ded.\ frame}{b}
  506. \key{toggle follow-mode}{f}
  507. {\bf Change display}
  508. \key{delete other windows}{o}
  509. \key{switch to day/week/month/year view}{d w m y}
  510. \key{toggle inclusion of diary entries}{D}
  511. \key{toggle time grid for daily schedule}{G}
  512. \key{toggle display of logbook entries}{l}
  513. \key{toggle inclusion of archived trees/files}{v / C-u v}
  514. \key{refresh agenda buffer with any changes}{r / g}
  515. \key{filter with repect to a tag}{/}
  516. \key{save all org-mode buffers}{s}
  517. \key{display next/previous day,week,...}{RIGHT/LEFT}
  518. \key{goto today}{.}
  519. {\bf Remote editing}
  520. \key{digit argument}{0-9}
  521. \key{change state of current TODO item}{t}
  522. \key{kill item and source}{C-k}
  523. \key{archive the subtree (file/tag/sibling)}{\$ / a / A}
  524. \key{show tags of current headline}{T}
  525. \key{set tags for current headline/region}{:}
  526. \key{set priority of current item}{p}
  527. \key{raise/lower priority of current item}{S-UP/DOWN$^3$}
  528. \key{display weighted priority of current item}{P}
  529. \key{run an attachment command}{C-c C-a}
  530. \key{schedule/set deadline for this item}{C-c C-s/d}
  531. \key{change timestamp to one day earlier/later}{S-LEFT/RIGHT$^3$}
  532. \key{change timestamp to today}{>}
  533. \key{insert new entry into diary}{i}
  534. \newcolumn
  535. \key{start/stop/cancel the clock on current item}{I / O / X}
  536. \key{jump to running clock entry}{J}
  537. {\bf Misc}
  538. \key{Open link in current line}{C-c C-o}
  539. {\bf Calendar commands}
  540. \key{find agenda cursor date in calendar}{c}
  541. \key{compute agenda for calendar cursor date}{c}
  542. \key{show phases of the moon}{M}
  543. \key{show sunrise/sunset times}{S}
  544. \key{show holidays}{H}
  545. \key{convert date to other calendars}{C}
  546. {\bf Quit and Exit}
  547. \key{quit agenda, remove agenda buffer}{q}
  548. \key{exit agenda, remove all agenda buffers}{x}
  549. \section{Calendar and Diary Integration}
  550. Include Emacs diary entries into Org-mode agenda with:
  551. \beginexample%
  552. (setq org-agenda-include-diary t)
  553. \endexample
  554. \section{LaTeX and cdlatex-mode}
  555. \key{preview LaTeX fragment}{C-c C-x C-l}
  556. \key{Expand abbreviation (cdlatex-mode)}{TAB}
  557. \key{Insert/modify math symbol (cdlatex-mode)}{` / '}
  558. \section{Exporting and Publishing}
  559. Exporting creates files with extensions {\it .txt\/} and {\it .html\/}
  560. in the current directory. Publishing puts the resulting file into
  561. some other place.
  562. \key{export/publish dispatcher}{C-c C-e}
  563. \key{export visible part only}{C-c C-e v}
  564. \key{insert template of export options}{C-c C-x t}
  565. \key{toggle fixed width for entry or region}{C-c :}
  566. %{\bf HTML formatting}
  567. %\key{make words {\bf bold}}{*bold*}
  568. %\key{make words {\it italic}}{/italic/}
  569. %\key{make words \underbar{underlined}}{_underlined_}
  570. %\key{sub- and superscripts}{x\^{}3, J_dust}
  571. %\key{\TeX{}-like macros}{\\alpha, \\to}
  572. %\key{typeset lines in fixed width font}{start with :}
  573. %\key{tables are exported as HTML tables}{start with |}
  574. %\key{links become HTML links}{http:... etc}
  575. %\key{include html tags}{@<b>...@</b>}
  576. %{\bf Export options}
  577. %
  578. %Include additional information for export by putting these anywhere in the
  579. %org file. Use {\tt M-TAB} completion to make sure to get the right
  580. %keywords. {\tt M-TAB} again just after keyword is complete inserts examples.
  581. %
  582. %\key{the title to be shown}{\#+TITLE:}
  583. %\key{the author}{\#+AUTHOR:}
  584. %\key{authors email address}{\#+EMAIL:}
  585. %\key{language code for html}{\#+LANGUAGE:}
  586. %\key{free text description of file}{\#+TEXT:}
  587. %\key{... which can carry over multiple lines}{\#+TEXT:}
  588. %\key{settings for the export process}{\#+OPTIONS:}
  589. %\key{set number of headline levels for export}{H:2}
  590. %\key{turn on/off section numbers}{num:t}
  591. %\key{turn on/off table of contents}{toc:t}
  592. %\key{turn on/off linebreak preservation}{\\n:nil}
  593. %\key{turn on/off quoted html tags}{@:t}
  594. %\key{turn on/off fixed width sections}{::t}
  595. %\key{turn on/off tables}{|:t}
  596. %\key{turn on/off \TeX\ syntax for sub/super-scripts}{\^{}:t}
  597. %\key{turn on/off emphasised text}{*:nil}
  598. %\key{turn on/off \TeX\ macros}{TeX:t}
  599. {\bf Comments: Text not being exported}
  600. Text before the first headline is not considered part of the document
  601. and is therefore never exported.
  602. Lines starting with \kbd{\#} are comments and are not exported.
  603. Subtrees whose header starts with COMMENT are never exported.
  604. \key{toggle COMMENT keyword on entry}{C-c ;}
  605. \section{Dynamic Blocks}
  606. \key{update dynamic block at point}{C-c C-x C-u}
  607. \metax{update all dynamic blocks}{C-u C-c C-x C-u}
  608. \section{Notes}
  609. $^1$ This is only a suggestion for a binding of this command. Choose
  610. your own key as shown under INSTALLATION.
  611. $^2$ After changing a \kbd{\#+KEYWORD} or \kbd{<<<target>>>} line,
  612. press \kbd{C-c C-c} with the cursor still in the line to update.
  613. $^3$ Keybinding affected by {\tt org-CUA-compatibility}.
  614. \copyrightnotice
  615. \bye
  616. % Local variables:
  617. % compile-command: "tex refcard"
  618. % End:
  619. % arch-tag: 139f6750-5cfc-49ca-92b5-237fe5795290